Falhas do tipo CWE-476

2.332 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-2025-43966LOWlibheif before 1.19.6 has a NULL pointer dereference in ImageItem_iden in image-items/iden.cc.EPSS 0.3%CVE-2023-6679MEDIUMKernel: null pointer dereference in dpll_pin_parent_pin_set() in drivers/dpll/dpll_netlink.cEPSS 0.3%CVE-2025-62791MEDIUMWazuh vulnerable to NULL pointer dereference in DecodeCiscatEPSS 0.3%CVE-2022-44369MEDIUMNASM 2.16 (development) is vulnerable to 476: Null Pointer Dereference via output/outaout.c.EPSS 0.3%CVE-2024-24443MEDIUMAn uninitialized pointer dereference in the ngap_handle_pdu_session_resource_setup_response routine of OpenAirInterface CN5G AMF (oai-cn5g-aEPSS 0.3%CVE-2022-44368MEDIUMNASM v2.16 was discovered to contain a null pointer deference in the NASM componentEPSS 0.3%CVE-2022-1671—A NULL pointer dereference flaw was found in rxrpc_preparse_s in net/rxrpc/server_key.c in the Linux kernel. This flaw allows a local attackEPSS 0.3%CVE-2024-50265MEDIUMocfs2: remove entry once instead of null-ptr-dereference in ocfs2_xa_remove()EPSS 0.3%CVE-2025-30272MEDIUMQTS, QuTS heroEPSS 0.3%CVE-2025-10256MEDIUMFfmpeg: null pointer dereference in firequalizer filter (libavfilter/af_firequalizer.c)EPSS 0.3%CVE-2025-30274MEDIUMQTS, QuTS heroEPSS 0.3%CVE-2023-51368MEDIUMQTS, QuTS heroEPSS 0.3%CVE-2026-21680MEDIUMiccDEV has Null Pointer Dereference in CIccProfile::CheckTagTypes()EPSS 0.3%CVE-2026-58101HIGHCrypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of service via NULL pointer dereferenceEPSS 0.3%CVE-2022-35087MEDIUMSWFTools commit 772e55a2 was discovered to contain a segmentation violation via MovieAddFrame at /src/gif2swf.c.EPSS 0.3%CVE-2026-16846MEDIUMVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.3%CVE-2023-27114MEDIUMradare2 v5.8.3 was discovered to contain a segmentation fault via the component wasm_dis at p/wasm/wasm.c.EPSS 0.3%CVE-2024-25260MEDIUMelfutils v0.189 was discovered to contain a NULL pointer dereference via the handle_verdef() function at readelf.c.EPSS 0.3%CVE-2023-4681MEDIUMNULL Pointer Dereference in gpac/gpacEPSS 0.3%CVE-2024-45238HIGHAn issue was discovered in Fort before 1.6.3. A malicious RPKI repository that descends from a (trusted) Trust Anchor can serve (via rsync oEPSS 0.3%