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-8586MEDIUMlibav MPEG File Parser utils.c ff_seek_frame_binary null pointer dereferenceEPSS 0.2%CVE-2024-1443MEDIUMMSI Afterburner v4.6.5.16370 - Denial of ServiceEPSS 0.2%CVE-2022-31615MEDIUMNVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer, where a local user with basic capabilities can cause EPSS 0.2%CVE-2024-36897MEDIUMdrm/amd/display: Atom Integrated System Info v2_2 for DCN35EPSS 0.2%CVE-2026-48097HIGHNexTOR_IP_CHANGER has PATH Injection Leading to Arbitrary Command ExecutionEPSS 0.2%CVE-2021-47257MEDIUMnet: ieee802154: fix null deref in parse dev addrEPSS 0.2%CVE-2023-52462—bpf: fix check for attempt to corrupt spilled pointerEPSS 0.2%CVE-2024-0072LOW NVIDIA CUDA toolkit for all platforms contains a vulnerability in cuobjdump and nvdisasm where an attacker may cause a crash by tricking a EPSS 0.2%CVE-2025-21904MEDIUMcaif_virtio: fix wrong pointer check in cfv_probe()EPSS 0.2%CVE-2025-21689MEDIUMUSB: serial: quatech2: fix null-ptr-deref in qt2_process_read_urb()EPSS 0.2%CVE-2021-47464HIGHaudit: fix possible null-pointer dereference in audit_filter_rulesEPSS 0.2%CVE-2024-26978—serial: max310x: fix NULL pointer dereference in I2C instantiationEPSS 0.2%CVE-2022-3115MEDIUMAn issue was discovered in the Linux kernel through 5.16-rc6. malidp_crtc_reset in drivers/gpu/drm/arm/malidp_crtc.c lacks check of the retuEPSS 0.2%CVE-2025-21670MEDIUMvsock/bpf: return early if transport is not assignedEPSS 0.2%CVE-2023-52631MEDIUMfs/ntfs3: Fix an NULL dereference bugEPSS 0.2%CVE-2024-26661MEDIUMdrm/amd/display: Add NULL test for 'timing generator' in 'dcn21_set_pipe()'EPSS 0.2%CVE-2024-55916MEDIUMDrivers: hv: util: Avoid accessing a ringbuffer not initialized yetEPSS 0.2%CVE-2022-3114MEDIUMAn issue was discovered in the Linux kernel through 5.16-rc6. imx_register_uart_clocks in drivers/clk/imx/clk.c lacks check of the return vaEPSS 0.2%CVE-2025-6858MEDIUMHDF5 H5Centry.c H5C__flush_single_entry null pointer dereferenceEPSS 0.2%CVE-2023-52508MEDIUMnvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()EPSS 0.2%