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-2024-31030CRITICALAn issue in coap_msg.c in Keith Cullen's FreeCoAP v.0.7 allows remote attackers to cause a Denial of Service or potentially disclose informaEPSS 0.8%CVE-2022-34651HIGHBIG-IP TLS 1.3 iRule vulnerability CVE-2022-34651EPSS 0.8%CVE-2022-35245HIGHBIG-IP APM access policy vulnerability CVE-2022-35245EPSS 0.8%CVE-2024-20446HIGHCisco NX-OS Software DHCPv6 Relay Agent Denial of Service VulnerabilityEPSS 0.8%CVE-2024-40493MEDIUMNull Pointer Dereference in `coap_client_exchange_blockwise2` function in Keith Cullen FreeCoAP 1.0 allows remote attackers to cause a deniaEPSS 0.8%CVE-2026-34350MEDIUMWindows Storport Miniport Driver Denial of Service VulnerabilityEPSS 0.8%CVE-2022-23595MEDIUMNull pointer dereference in TensorFlowEPSS 0.8%CVE-2026-55209CRITICALresdata insufficiently validates untrusted GRDECL filesEPSS 0.8%CVE-2026-7262LOWNULL pointer dereference in SOAP apache:Map decoder with missing <value>EPSS 0.8%CVE-2025-2959HIGHTRENDnet TEW-410APB HTTP Request httpd sub_4019A0 null pointer dereferenceEPSS 0.8%CVE-2025-2960HIGHTRENDnet TEW-637AP/TEW-638APB HTTP Request goahead sub_41DED0 null pointer dereferenceEPSS 0.8%CVE-2026-22998HIGHnvme-tcp: fix NULL pointer dereferences in nvmet_tcp_build_pdu_iovecEPSS 0.8%CVE-2023-6247MEDIUMThe PKCS#7 parser in OpenVPN 3 Core Library versions through 3.8.3 did not properly validate the parsed data, which would result in the applEPSS 0.8%CVE-2022-2121HIGHOFFIS DCMTK NULL Pointer DereferenceEPSS 0.8%CVE-2022-49321HIGHxprtrdma: treat all calls not a bcall when bc_serv is NULLEPSS 0.8%CVE-2026-1739MEDIUMFree5GC pcf smpolicy.go HandleCreateSmPolicyRequest null pointer dereferenceEPSS 0.8%CVE-2026-47427HIGHGitHub MCP Server: Nil Pointer Dereference DoS in completion/complete HandlerEPSS 0.8%CVE-2025-6395MEDIUMGnutls: null pointer dereference in _gnutls_figure_common_ciphersuite()EPSS 0.8%CVE-2024-23076HIGHJFreeChart v1.5.4 was discovered to contain a NullPointerException via the component /labels/BubbleXYItemLabelGenerator.java. NOTE: this is EPSS 0.8%CVE-2020-23259HIGHAn issue found in Jsish v.3.0.11 and before allows an attacker to cause a denial of service via the Jsi_Strlen function in the src/jsiChar.cEPSS 0.8%