Falhas do tipo CWE-476

2.333 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-2026-3389MEDIUMSquirrel sqstdrex.cpp sqstd_rex_newnode null pointer dereferenceEPSS 0.2%CVE-2025-21990MEDIUMdrm/amdgpu: NULL-check BO's backing store when determining GFX12 PTE flagsEPSS 0.2%CVE-2025-21989MEDIUMdrm/amd/display: fix missing .is_two_pixels_per_containerEPSS 0.2%CVE-2025-22002MEDIUMnetfs: Call `invalidate_cache` only if implementedEPSS 0.2%CVE-2023-1382MEDIUMA data race flaw was found in the Linux kernel, between where con is allocated and con->sock is set. This issue leads to a NULL pointer dereEPSS 0.2%CVE-2025-8534LOWlibtiff tiff2ps tiff2ps.c PS_Lvl2page null pointer dereferenceEPSS 0.2%CVE-2026-86547MEDIUMmrubyc through 4.0.0 NULL Pointer Dereference via OP_ENTEREPSS 0.2%CVE-2026-21497MEDIUMNULL Pointer Dereference in iccDEV Unknown Tag ParserEPSS 0.2%CVE-2026-21502MEDIUMNULL Pointer Dereference in iccDEV XML Tag ParserEPSS 0.2%CVE-2026-21496MEDIUMNULL Pointer Dereference in iccDEV Signature ParserEPSS 0.2%CVE-2023-33121LOWA vulnerability has been identified in JT2Go (All versions < V14.2.0.3), Teamcenter Visualization V13.2 (All versions < V13.2.0.13), TeamcenEPSS 0.2%CVE-2026-21506MEDIUMiccDEV is Vulnerable to Null Pointer Dereference in CIccProfileXml::ParseBasic() Leading to Denial of ServiceEPSS 0.2%CVE-2026-21498MEDIUMNULL Pointer Dereference in iccDEV XML Calculator ParserEPSS 0.2%CVE-2024-56668MEDIUMiommu/vt-d: Fix qi_batch NULL pointer with nested parent domainEPSS 0.2%CVE-2026-21503MEDIUMiccDEV has Undefined Behavior - Null Pointer Passed to memcpy() in CIccTagSparseMatrixArrayEPSS 0.2%CVE-2023-53356MEDIUMusb: gadget: u_serial: Add null pointer check in gserial_suspendEPSS 0.2%CVE-2026-21499MEDIUMNULL Pointer Dereference in iccDEV XML ParserEPSS 0.2%CVE-2024-56666MEDIUMdrm/amdkfd: Dereference null return valueEPSS 0.2%CVE-2024-58076MEDIUMclk: qcom: gcc-sm6350: Add missing parent_map for two clocksEPSS 0.2%CVE-2024-50281HIGHKEYS: trusted: dcp: fix NULL dereference in AEAD crypto operationEPSS 0.2%