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-2024-53092HIGHvirtio_pci: Fix admin vq cleanup by using correct info pointerEPSS 0.2%CVE-2024-50105MEDIUMASoC: qcom: sc7280: Fix missing Soundwire runtime stream allocEPSS 0.2%CVE-2022-48646MEDIUMsfc/siena: fix null pointer dereference in efx_hard_start_xmitEPSS 0.2%CVE-2024-47496MEDIUMJunos OS: MX Series: The PFE will crash on running specific commandEPSS 0.2%CVE-2025-55314HIGHAn issue was discovered in Foxit PDF and Editor for Windows and macOS before 13.2 and 2025 before 2025.2. When pages in a PDF are deleted viEPSS 0.2%CVE-2024-56696MEDIUMALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()EPSS 0.2%CVE-2025-11017MEDIUMOGRECave Ogre OgreLogManager.cpp stream null pointer dereferenceEPSS 0.2%CVE-2024-50104MEDIUMASoC: qcom: sdm845: add missing soundwire runtime stream allocEPSS 0.2%CVE-2024-56697MEDIUMdrm/amdgpu: Fix the memory allocation issue in amdgpu_discovery_get_nps_info()EPSS 0.2%CVE-2025-22032MEDIUMwifi: mt76: mt7921: fix kernel panic due to null pointer dereferenceEPSS 0.2%CVE-2024-53115MEDIUMdrm/vmwgfx: avoid null_ptr_deref in vmw_framebuffer_surface_create_handleEPSS 0.2%CVE-2024-53064MEDIUMidpf: fix idpf_vc_core_init error pathEPSS 0.2%CVE-2024-0125LOWNVIDIA CUDA Toolkit for Windows and Linux contains a vulnerability in the nvdisam command line tool, where a user can cause a NULL pointer dEPSS 0.2%CVE-2021-29518LOWSession operations in eager mode lead to null pointer dereferencesEPSS 0.2%CVE-2025-59967HIGHJunos OS Evolved: ACX7024, ACX7024X, ACX7100-32C, ACX7100-48L, ACX7348, ACX7509: When specific valid multicast traffic is received on the L3 interface on a vulnerable device evo-pfemand crashes and restartsEPSS 0.2%CVE-2021-29515LOWReference binding to null pointer in `MatrixDiag*` opsEPSS 0.2%CVE-2023-53336MEDIUMmedia: ipu-bridge: Fix null pointer deref on SSDB/PLD parsing warningsEPSS 0.2%CVE-2021-29574LOWUndefined behavior in `MaxPool3DGradGrad`EPSS 0.2%CVE-2025-48073MEDIUMOpenEXR ScanLineProcess::run_fill NULL Pointer Write In "reduceMemory" ModeEPSS 0.2%CVE-2023-53354HIGHskbuff: skb_segment, Call zero copy functions before using skbuff fragsEPSS 0.2%