Falhas do tipo CWE-476

2.571 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-2021-35985MEDIUMAdobe Acrobat Pro DC PDFLibTool Null Pointer Dereference BugEPSS 1.9%CVE-2021-4209—A NULL pointer dereference flaw was found in GnuTLS. As Nettle's hash update functions internally call memcpy, providing zero-length input mEPSS 1.9%CVE-2020-13583HIGHA denial-of-service vulnerability exists in the HTTP Server functionality of Micrium uC-HTTP 3.01.00. A specially crafted HTTP request can lEPSS 1.9%CVE-2019-1900HIGHCisco Integrated Management Controller Unauthenticated Denial of Service VulnerabilityEPSS 1.9%CVE-2021-3596—A NULL pointer dereference flaw was found in ImageMagick in versions prior to 7.0.10-31 in ReadSVGImage() in coders/svg.c. This issue is dueEPSS 1.9%CVE-2021-28601LOWAdobe After Effects NULL Pointer Dereference vulnerabilityEPSS 1.9%CVE-2023-0401HIGHNULL dereference during PKCS7 data verificationEPSS 1.8%CVE-2023-0216HIGHInvalid pointer dereference in d2i_PKCS7 functionsEPSS 1.8%CVE-2023-0217HIGHNULL dereference validating DSA public keyEPSS 1.8%CVE-2025-8175HIGHD-Link DI-8400 jhttpd usb_paswd.asp null pointer dereferenceEPSS 1.8%CVE-2022-23476HIGHUnchecked return value from xmlTextReaderExpand in NokogiriEPSS 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-2020-27279HIGHA NULL pointer deference vulnerability has been identified in the protocol converter. An attacker could send a specially crafted packet thatEPSS 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-20299—A 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-7655—In 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-2021-20296—A 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%