Falhas do tipo CWE-476

2.332 resultados

Desreferenciação de ponteiro nulo autenticado

O software permite que um usuário autenticado force a desreferenciação de um ponteiro ou referência nula, tipicamente ao passar valores inesperados ou inválidos a uma função. O aplicativo não valida adequadamente a entrada antes de usá-la, causando falha (crash) ou comportamento indefinido que pode levar a negação de serviço.

Exemplo

Um painel administrativo aceita um ID de usuário para deletar, mas não verifica se esse ID existe no banco antes de acessar seus atributos. Um admin autenticado passa ID=0 ou um valor que não corresponde a nenhum registro, e o código tenta acessar propriedades de um objeto nulo, derrubando a aplicação.

Como mitigar

Sempre valide e verifique que referências/ponteiros são válidos antes de desreferenciar: teste se o objeto existe, se o ID é válido e se está dentro do escopo esperado. Use assertions em desenvolvimento e tratamento de exceções robusto em produção para falhas inesperadas.

CVE-2023-34323MEDIUMxenstored: A transaction conflict can crash C XenstoredEPSS 0.3%CVE-2025-69649MEDIUMGNU Binutils thru 2.46 readelf contains a null pointer dereference vulnerability when processing a crafted ELF binary with malformed header EPSS 0.3%CVE-2026-3202MEDIUMNULL Pointer Dereference in WiresharkEPSS 0.3%CVE-2024-25453MEDIUMBento4 v1.6.0-640 was discovered to contain a NULL pointer dereference via the AP4_StszAtom::GetSampleSize() function.EPSS 0.3%CVE-2022-3202—A NULL pointer dereference flaw in diFree in fs/jfs/inode.c in Journaled File System (JFS)in the Linux kernel. This could allow a local attaEPSS 0.3%CVE-2024-26744MEDIUMRDMA/srpt: Support specifying the srpt_service_guid parameterEPSS 0.3%CVE-2024-56634MEDIUMgpio: grgpio: Add NULL check in grgpio_probeEPSS 0.3%CVE-2024-56587MEDIUMleds: class: Protect brightness_show() with led_cdev->led_access mutexEPSS 0.3%CVE-2025-6375MEDIUMpoco MultipartReader.cpp MultipartInputStream null pointer dereferenceEPSS 0.3%CVE-2024-50296MEDIUMnet: hns3: fix kernel crash when uninstalling driverEPSS 0.3%CVE-2024-45828MEDIUMi3c: mipi-i3c-hci: Mask ring interrupts before ring stop requestEPSS 0.3%CVE-2024-50117HIGHdrm/amd: Guard against bad data for ATIF ACPI methodEPSS 0.3%CVE-2024-48881MEDIUMbcache: revert replacing IS_ERR_OR_NULL with IS_ERR againEPSS 0.3%CVE-2026-47307MEDIUMNULL pointer dereference vulnerability in Samsung Open Source Walrus allows an attacker to cause a denial of service via a crafted WebAssembEPSS 0.3%CVE-2023-37026MEDIUMA Null pointer dereference vulnerability in the Mobile Management Entity (MME) in Magma <= 1.8.0 (fixed in v1.9 commit 08472ba98b8321f802e95EPSS 0.3%CVE-2025-22031MEDIUMPCI/bwctrl: Fix NULL pointer dereference on bus number exhaustionEPSS 0.3%CVE-2021-47645MEDIUMmedia: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_comEPSS 0.3%CVE-2024-2496MEDIUMLibvirt: null pointer dereference in udevconnectlistallinterfaces()EPSS 0.3%CVE-2023-37035MEDIUMA Null pointer dereference vulnerability in the Mobile Management Entity (MME) in Magma <= 1.8.0 (fixed in v1.9 commit 08472ba98b8321f802e95EPSS 0.3%CVE-2024-20794MEDIUMAdobe Animate 2024 WAV File Parsing Null Pointer DereferenceEPSS 0.3%