Weaknesses of type CWE-690
33 resultsDesreferência de ponteiro nulo por retorno não validado
O código chama uma função que pode retornar NULL (indicando falha), mas não verifica o resultado antes de usar o ponteiro. Ao desreferenciar um ponteiro nulo, o programa falha ou se comporta de forma imprevisível, criando oportunidade para negação de serviço ou execução de código malicioso.
Example
Uma função de autenticação retorna NULL se o usuário não for encontrado, mas o código chama diretamente user->id sem verificar se user é NULL. Isso causa crash ou permite um atacante fazer exploit explorando a falha.
How to mitigate
Sempre valide o retorno de funções que podem falhar com verificações explícitas (if (ptr == NULL)) antes de usar o ponteiro. Use análise estática e testes para detectar desreferências não protegidas.
CVE-2026-24411HIGHiccDEV has Undefined Behavior and Null Pointer Deference in CIccTagXmlSegmentedCurve::ToXml()EPSS 0.4%CVE-2026-24410HIGHiccDEV has Undefined Behavior and Null Pointer Deference in CIccProfileXml::ParseBasic()EPSS 0.4%CVE-2026-24409HIGHiccDEV has Undefined Behavior and Null Pointer Deference in CIccTagXmlFloatNum<>::ParseXml()EPSS 0.4%CVE-2026-21689MEDIUMiccDEV has Type Confusion in CIccProfileXml::ParseBasic() at IccXML/IccLibXML/IccProfileXml.cppEPSS 0.3%CVE-2024-42329LOWJS - Crash on unexpected HTTP server responseEPSS 0.2%CVE-2024-42328LOWJS - Crash on empty HTTP server responseEPSS 0.2%CVE-2026-21499MEDIUMNULL Pointer Dereference in iccDEV XML ParserEPSS 0.2%CVE-2026-21502MEDIUMNULL Pointer Dereference in iccDEV XML Tag ParserEPSS 0.2%CVE-2026-21498MEDIUMNULL Pointer Dereference in iccDEV XML Calculator ParserEPSS 0.2%CVE-2026-21496MEDIUMNULL Pointer Dereference in iccDEV Signature ParserEPSS 0.2%CVE-2022-22233MEDIUMJunos OS and Junos OS Evolved: In an SR to LDP interworking scenario, with SRMS, when a specific low privileged command is issued on an ABR rpd will crashEPSS 0.2%CVE-2025-33192MEDIUMNVIDIA DGX Spark GB10 contains a vulnerability in SROOT firmware, where an attacker could cause an arbitrary memory read. A successful exploEPSS 0.1%CVE-2026-44638LOWlibsixel: NULL pointer dereferenceEPSS 0.1%