Falhas do tipo CWE-476

2.572 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-2022-1382MEDIUMNULL Pointer Dereference in radareorg/radare2EPSS 0.7%CVE-2025-14180HIGHNULL Pointer Dereference in PDO quotingEPSS 0.7%CVE-2026-68157HIGHlibceph: guard missing CRUSH type name lookupEPSS 0.7%CVE-2025-68782HIGHscsi: target: Reset t_task_cdb pointer in error caseEPSS 0.7%CVE-2024-23327HIGHCrash in proxy protocol when command type of LOCAL in EnvoyEPSS 0.7%CVE-2022-49664HIGHtipc: move bc link creation back to tipc_node_createEPSS 0.7%CVE-2026-33063HIGHfree5GC AUSF UE Authentication Panic on Nil SuciSupiMap Interface ConversionEPSS 0.7%CVE-2024-34088HIGHIn FRRouting (FRR) through 9.1, it is possible for the get_edge() function in ospf_te.c in the OSPF daemon to return a NULL pointer. In caseEPSS 0.7%CVE-2026-90792MEDIUMGPAC MP4Box base_scenegraph.c gf_node_list_get_child null pointer dereferenceEPSS 0.7%CVE-2024-34508MEDIUMdcmnet in DCMTK before 3.6.9 has a segmentation fault via an invalid DIMSE message.EPSS 0.7%CVE-2026-71922HIGHDrayTek VigorSwitch Multiple Models Pre-Authentication NULL Pointer Dereference via setget.cgiEPSS 0.7%CVE-2026-29785HIGHNATS Server panic via malicious compression on leafnode portEPSS 0.7%CVE-2024-25197MEDIUMOpen Robotics Robotic Operating Sytstem 2 (ROS2) and Nav2 humble versions were discovered to contain a NULL pointer dereference via the isCuEPSS 0.7%CVE-2023-46049MEDIUMLLVM 15.0.0 has a NULL pointer dereference in the parseOneMetadata() function via a crafted pdflatex.fmt file (or perhaps a crafted .o file)EPSS 0.7%CVE-2021-33572LOWDenial-of-Service (DoS) VulnerabilityEPSS 0.7%CVE-2025-54989MEDIUMFirebird XDR Message Parsing NULL Pointer Dereference Denial-of-Service VulnerabilityEPSS 0.7%CVE-2025-66646LOWRIOT-OS has NULL pointer dereference in gnrc_ipv6_ext_frag_reassEPSS 0.7%CVE-2022-1283MEDIUMNULL Pointer Dereference in r_bin_ne_get_entrypoints function in radareorg/radare2EPSS 0.7%CVE-2024-43357HIGHJavaScript specification issue may lead to type confusion and pointer dereference in implementationsEPSS 0.7%CVE-2021-39977HIGHThe HwNearbyMain module has a NULL Pointer Dereference vulnerability.Successful exploitation of this vulnerability may cause a process to reEPSS 0.7%