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-2025-1371MEDIUMGNU elfutils eu-read readelf.c handle_dynamic_symtab null pointer dereferenceEPSS 0.2%CVE-2023-0190MEDIUMNVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer, where a NULL pointer dereference may lead to denial oEPSS 0.2%CVE-2025-21682HIGHeth: bnxt: always recalculate features after XDP clearing, fix null-derefEPSS 0.2%CVE-2023-4385MEDIUMKernel: jfs: null pointer dereference in dbfree()EPSS 0.2%CVE-2024-56577MEDIUMmedia: mtk-jpeg: Fix null-ptr-deref during unload moduleEPSS 0.2%CVE-2022-49931HIGHIB/hfi1: Correctly move list in sc_disable()EPSS 0.2%CVE-2022-3110MEDIUMAn issue was discovered in the Linux kernel through 5.16-rc6. _rtw_init_xmit_priv in drivers/staging/r8188eu/core/rtw_xmit.c lacks check of EPSS 0.2%CVE-2021-29530LOWInvalid validation in `SparseMatrixSparseCholesky`EPSS 0.2%CVE-2025-8224MEDIUMGNU Binutils BFD Library elf.c bfd_elf_get_str_section null pointer dereferenceEPSS 0.2%CVE-2021-47230MEDIUMKVM: x86: Immediately reset the MMU context when the SMM flag is clearedEPSS 0.2%CVE-2022-3078—An issue was discovered in the Linux kernel through 5.16-rc6. There is a lack of check after calling vzalloc() and lack of free after allocaEPSS 0.2%CVE-2025-21848MEDIUMnfp: bpf: Add check for nfp_app_ctrl_msg_alloc()EPSS 0.2%CVE-2024-26786HIGHiommufd: Fix iopt_access_list_id overwrite bugEPSS 0.2%CVE-2024-50147MEDIUMnet/mlx5: Fix command bitmask initializationEPSS 0.2%CVE-2026-20878HIGHNull pointer dereference for some Intel(R) PROSet/Wireless WiFi Software for Windows within Ring 2: Device Drivers may allow a denial of serEPSS 0.2%CVE-2025-49678HIGHNTFS Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-12051MEDIUMNULL pointer dereference in USB DFU device_next download handler (handle_download)EPSS 0.2%CVE-2024-47809MEDIUMdlm: fix possible lkb_resource null dereferenceEPSS 0.2%CVE-2022-34666MEDIUMNVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel mode layer, where a local user with basic capabilitieEPSS 0.2%CVE-2024-28068MEDIUMA vulnerability was discovered in SS in Samsung Mobile Processor, Wearable Processor, and Modems with versions Exynos 9820, Exynos 9825, ExyEPSS 0.2%