Falhas do tipo CWE-476

2.328 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-0216HIGHInvalid pointer dereference in d2i_PKCS7 functionsEPSS 1.8%CVE-2023-0217HIGHNULL dereference validating DSA public keyEPSS 1.8%CVE-2023-0401HIGHNULL dereference during PKCS7 data verificationEPSS 1.8%CVE-2020-24421MEDIUMAdobe InDesign 15.1.2 NULL Pointer Dereference BugEPSS 1.8%CVE-2021-35984MEDIUMAdobe Acrobat Pro DC PDFLibTool Null Pointer Dereference BugEPSS 1.8%CVE-2021-42268MEDIUMAdobe Animate FLA File Parsing Null Pointer Dereference Application Denial of ServiceEPSS 1.8%CVE-2023-32084HIGHHTTP.sys Denial of Service VulnerabilityEPSS 1.8%CVE-2025-60336HIGHA NULL pointer dereference in the sub_41773C function of TOTOLINK N600R v4.3.0cu.7866_B20220506 allows attackers to cause a Denial of ServicEPSS 1.8%CVE-2021-20299A flaw was found in OpenEXR's Multipart input file functionality. A crafted multi-part input file with no actual parts can trigger a NULL poEPSS 1.8%CVE-2017-7655In Eclipse Mosquitto version from 1.0 to 1.4.15, a Null Dereference vulnerability was found in the Mosquitto library which could lead to craEPSS 1.8%CVE-2022-23476HIGHUnchecked return value from xmlTextReaderExpand in NokogiriEPSS 1.8%CVE-2021-4209A NULL pointer dereference flaw was found in GnuTLS. As Nettle's hash update functions internally call memcpy, providing zero-length input mEPSS 1.7%CVE-2021-20296A flaw was found in OpenEXR in versions before 3.0.0-beta. A crafted input file supplied by an attacker, that is processed by the Dwa decompEPSS 1.7%CVE-2022-23199MEDIUMAdobe Illustrator NULL Pointer Dereference Application denial-of-serviceEPSS 1.7%CVE-2022-23198MEDIUMAdobe Illustrator NULL Pointer Dereference Application denial-of-serviceEPSS 1.7%CVE-2022-23189MEDIUMAdobe Illustrator NULL Pointer Dereference Application denial-of-serviceEPSS 1.7%CVE-2025-33057MEDIUMWindows Local Security Authority (LSA) Denial of Service VulnerabilityEPSS 1.7%CVE-2020-27279HIGHA NULL pointer deference vulnerability has been identified in the protocol converter. An attacker could send a specially crafted packet thatEPSS 1.7%CVE-2024-27978MEDIUMA Null Pointer Dereference vulnerability in WLAvalancheService component of Ivanti Avalanche before 6.4.3 allows an authenticated remote attEPSS 1.7%CVE-2024-24991MEDIUMA Null Pointer Dereference vulnerability in WLAvalancheService component of Ivanti Avalanche before 6.4.3 allows an authenticated remote attEPSS 1.7%