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-50318HIGHA null pointer dereference in Ivanti Avalanche before 6.4.6 allows a remote unauthenticated attacker to cause a denial of service.EPSS 1.2%CVE-2025-1735MEDIUMpgsql extension does not check for errors during escapingEPSS 1.2%CVE-2022-24810MEDIUMnet-snmp: A malformed OID in a SET to the nsVacmAccessTable can cause a NULL pointer dereference.EPSS 1.2%CVE-2017-2586LOWA null pointer dereference vulnerability was found in netpbm before 10.61. A maliciously crafted SVG file could cause the application to craEPSS 1.1%CVE-2020-35496—There's a flaw in bfd_pef_scan_start_address() of bfd/pef.c in binutils which could allow an attacker who is able to submit a crafted file tEPSS 1.1%CVE-2021-42263MEDIUMAdobe Premiere Pro Null Pointer Dereference Application denial-of-serviceEPSS 1.1%CVE-2021-40796MEDIUMAdobe Premiere Pro Null Pointer Dereference Application denial-of-serviceEPSS 1.1%CVE-2021-40768MEDIUMAdobe Character Animator NULL Pointer Dereference Application denial-of-serviceEPSS 1.1%CVE-2021-40788MEDIUMAdobe Premiere Elements Null Pointer Dereference Application denial-of-serviceEPSS 1.1%CVE-2021-40789MEDIUMAdobe Premiere Elements Null Pointer Dereference Application denial-of-serviceEPSS 1.1%CVE-2021-42264MEDIUMAdobe Premiere Pro Null Pointer Dereference Application denial-of-serviceEPSS 1.1%CVE-2021-40762MEDIUMAdobe Character Animator NULL Pointer Dereference Application denial-of-serviceEPSS 1.1%CVE-2021-40785MEDIUMAdobe Premiere Elements Null Pointer Dereference Application denial-of-serviceEPSS 1.1%CVE-2021-21057MEDIUMAcrobat Reader DC Invalid Memory Read Due To An Uninitialized PointerEPSS 1.1%CVE-2020-1995MEDIUMPAN-OS: Management server rasmgr denial of serviceEPSS 1.1%CVE-2022-24808MEDIUMnet-snmp: A malformed OID in a SET request to NET-SNMP-AGENT-MIB::nsLogTable can cause a NULL pointer dereferenceEPSS 1.1%CVE-2026-72939MEDIUMWindows Routing and Remote Access Service (RRAS) Denial of Service VulnerabilityEPSS 1.1%CVE-2026-59138MEDIUMMicrosoft Remote Registry Service Denial of Service VulnerabilityEPSS 1.1%CVE-2026-62762MEDIUMWindows Active Directory Domain Services Denial of Service VulnerabilityEPSS 1.1%CVE-2026-50366MEDIUMWindows Active Directory Domain Services Denial of Service VulnerabilityEPSS 1.1%