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-2021-47631MEDIUMARM: davinci: da850-evm: Avoid NULL pointer dereferenceEPSS 0.2%CVE-2022-34679MEDIUMNVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer handler, where an unhandled return value can lead to aEPSS 0.2%CVE-2025-20750MEDIUMIn Modem, there is a possible system crash due to improper input validation. This could lead to remote denial of service, if a UE has connecEPSS 0.2%CVE-2025-57248HIGHA null pointer dereference vulnerability was discovered in SumatraPDF 3.5.2 during the processing of a crafted .djvu file. When the file is EPSS 0.2%CVE-2025-55641MEDIUMA NULL pointer dereference in the gf_isom_copy_sample_info function (isomedia/isom_write.c) of GPAC MP4Box v2.4 allows attackers to cause a EPSS 0.2%CVE-2025-55643MEDIUMA NULL pointer dereference in the TrackWriter handling component (filters/mux_isom.c) of GPAC MP4Box v2.4 allows attackers to cause a DenialEPSS 0.2%CVE-2022-49104MEDIUMstaging: vchiq_core: handle NULL result of find_service_by_handleEPSS 0.2%CVE-2025-55649MEDIUMA NULL pointer dereference in the gf_media_map_esd function (media_tools/isom_tools.c) of GPAC MP4Box v2.4 allows attackers to cause a DeniaEPSS 0.2%CVE-2022-49106MEDIUMstaging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instancesEPSS 0.2%CVE-2024-53238MEDIUMBluetooth: btmtk: adjust the position to init iso data anchorEPSS 0.2%CVE-2025-55663MEDIUMA segmentation violation in the Track_SetStreamDescriptor function (isomedia/track.c) of GPAC MP4Box v2.4 allows attackers to cause a DenialEPSS 0.2%CVE-2024-8006MEDIUMNULL pointer dereference in libpcap before 1.10.5 with remote packet capture supportEPSS 0.2%CVE-2024-8235MEDIUMLibvirt: crash of virtinterfaced via virconnectlistinterfaces()EPSS 0.2%CVE-2022-34678MEDIUMNVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel mode layer, where an unprivileged user can cause a nuEPSS 0.2%CVE-2022-49692MEDIUMnet: phy: at803x: fix NULL pointer dereference on AR9331 PHYEPSS 0.2%CVE-2024-56574MEDIUMmedia: ts2020: fix null-ptr-deref in ts2020_probe()EPSS 0.2%CVE-2025-65494HIGHNULL pointer dereference in get_san_or_cn_from_cert() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial EPSS 0.2%CVE-2024-36926MEDIUMpowerpc/pseries/iommu: LPAR panics during boot up with a frozen PEEPSS 0.2%CVE-2026-0710HIGHSipp/sipp: sipp: denial of service and potential arbitrary code execution vulnerabilityEPSS 0.2%CVE-2025-11000MEDIUMOpen Babel PQSformat.cpp ReadMolecule null pointer dereferenceEPSS 0.2%