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-21846MEDIUMacct: perform last write from workqueueEPSS 0.2%CVE-2024-32637MEDIUMA vulnerability has been identified in JT2Go (All versions < V2312.0005), Teamcenter Visualization V14.2 (All versions < V14.2.0.12), TeamceEPSS 0.2%CVE-2025-71004MEDIUMA segmentation violation in the oneflow.logical_or component of OneFlow v0.9.0 allows attackers to cause a Denial of Service (DoS) via a craEPSS 0.2%CVE-2023-37039MEDIUMA Null pointer dereference vulnerability in the Mobile Management Entity (MME) in Magma <= 1.8.0 (fixed in v1.9 commit 08472ba98b8321f802e95EPSS 0.2%CVE-2024-36888MEDIUMworkqueue: Fix selection of wake_cpu in kick_pool()EPSS 0.2%CVE-2023-46343MEDIUMIn the Linux kernel before 6.5.9, there is a NULL pointer dereference in send_acknowledge in net/nfc/nci/spi.c.EPSS 0.2%CVE-2025-39755MEDIUMstaging: gpib: Fix cb7210 pcmcia OopsEPSS 0.2%CVE-2021-33715—A vulnerability has been identified in JT Utilities (All versions < V13.0.2.0). When parsing specially crafted JT files, a race condition coEPSS 0.2%CVE-2021-33714—A vulnerability has been identified in JT Utilities (All versions < V13.0.2.0). When parsing specially crafted JT files, a missing check forEPSS 0.2%CVE-2024-22525MEDIUMdnspod-sr 0dfbd37 contains a SEGV.EPSS 0.2%CVE-2025-54409MEDIUMAIDE null pointer dereference when reading incorrectly encoded xattr attributes from database (local DoS)EPSS 0.2%CVE-2024-53230MEDIUMcpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()EPSS 0.2%CVE-2024-42328LOWJS - Crash on empty HTTP server responseEPSS 0.2%CVE-2024-53231MEDIUMcpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()EPSS 0.2%CVE-2024-53180MEDIUMALSA: pcm: Add sanity NULL check for the default mmap fault handlerEPSS 0.2%CVE-2024-56575MEDIUMmedia: imx-jpeg: Ensure power suppliers be suspended before detach themEPSS 0.2%CVE-2024-47458MEDIUMBridge | NULL Pointer Dereference (CWE-476)EPSS 0.2%CVE-2022-48636HIGHs390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroupEPSS 0.2%CVE-2022-34682MEDIUMNVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer, where an unprivileged regular user can cause a null-pEPSS 0.2%CVE-2022-49134MEDIUMmlxsw: spectrum: Guard against invalid local portsEPSS 0.2%