Falhas do tipo CWE-476

2.331 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-2024-47544MEDIUMGHSL-2024-238: GStreamer has NULL-pointer dereferences in MP4/MOV demuxer CENC handlingEPSS 1.1%CVE-2026-40405HIGHWindows TCP/IP Denial of Service VulnerabilityEPSS 1.1%CVE-2022-2973HIGHMZ Automation libIEC61850 NULL Pointer DereferenceEPSS 1.1%CVE-2025-58364MEDIUMcups: Remote DoS via null dereferenceEPSS 1.1%CVE-2021-0251HIGHJunos OS: MX Series with MS-PIC, MS-SPC3, MS-MIC or MS-MPC: The BRAS Subscriber Services service activation portal is vulnerable to a Denial of Service (DoS) via malformed HTTP packetsEPSS 1.1%CVE-2021-43824HIGHNull pointer dereference in envoyEPSS 1.1%CVE-2020-35525In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.EPSS 1.1%CVE-2024-24989HIGHNGINX HTTP/3 QUIC vulnerabilityEPSS 1.1%CVE-2026-42766MEDIUMPossible NULL Dereference in Password-Based CMS DecryptionEPSS 1.1%CVE-2026-32071HIGHWindows Local Security Authority Subsystem Service (LSASS) Denial of Service VulnerabilityEPSS 1.1%CVE-2018-12469Incorrect handling of an invalid value for an HTTP request parameter by Directory Server (aka Enterprise Server Administration web UI) in MiEPSS 1.1%CVE-2025-27113LOWlibxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.EPSS 1.1%CVE-2022-3278MEDIUMNULL Pointer Dereference in vim/vimEPSS 1.0%CVE-2024-47835MEDIUMGHSL-2024-263: Gstreamer NULL-pointer dereference in LRC subtitle parserEPSS 1.0%CVE-2025-1877HIGHD-Link DAP-1562 HTTP POST Request pure_auth_check null pointer dereferenceEPSS 1.0%CVE-2026-59138MEDIUMMicrosoft Remote Registry Service Denial of Service VulnerabilityEPSS 1.0%CVE-2026-61345MEDIUMMicrosoft Remote Registry Service Denial of Service VulnerabilityEPSS 1.0%CVE-2022-22513MEDIUMNull Pointer Dereference in multiple CODESYS products can lead to a DoS.EPSS 1.0%CVE-2021-37616MEDIUMNull pointer dereference in Exiv2::Internal::resolveLens0x8ffEPSS 1.0%CVE-2023-45931HIGHMesa 23.0.4 was discovered to contain a NULL pointer dereference in check_xshm() for the has_error state. NOTE: this is disputed because theEPSS 1.0%