Falhas do tipo CWE-476

2.331 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-70954HIGHA Null Pointer Dereference vulnerability exists in the TON Virtual Machine (TVM) within the TON Blockchain before v2025.06. The issue is locEPSS 0.6%CVE-2024-56318HIGHIn raw\TCP.cpp in Matter (aka connectedhomeip or Project CHIP) through 1.4.0.0 before 27ca6ec, there is a NULL pointer dereference in TCPBasEPSS 0.6%CVE-2026-67870CRITICALIn open62541 v1.5.5, the server-side AddReferences implementation contains an incomplete validation flaw for non-local ExpandedNodeId targetEPSS 0.6%CVE-2024-3858HIGHIt was possible to mutate a JavaScript object so that the JIT could crash while tracing it. This vulnerability affects Firefox < 125.EPSS 0.6%CVE-2021-4198MEDIUMmessaging_ipc.dll NULL Pointer Dereference in multiple Bitdefender products (VA-10016)EPSS 0.6%CVE-2026-11788MEDIUM389-ds-base: 389-ds-base: null pointer dereference in deref control plugin ber parserEPSS 0.6%CVE-2023-52883HIGHdrm/amdgpu: Fix possible null pointer dereferenceEPSS 0.6%CVE-2024-39948HIGHA vulnerability has been found in Dahua products. Attackers can send carefully crafted data packets to the interface with vulnerabilities, cEPSS 0.6%CVE-2026-42767MEDIUMNULL Pointer Dereference in CRMF EncryptedValue DecryptionEPSS 0.6%CVE-2024-31041HIGHNull Pointer Dereference vulnerability in topic_filtern function in mqtt_parser.c in NanoMQ 0.21.7 allows attackers to cause a denial of serEPSS 0.6%CVE-2023-6603HIGHFfmpeg: null pointer dereference in ffmpeg hls parsingEPSS 0.6%CVE-2022-2549MEDIUMNULL Pointer Dereference in gpac/gpacEPSS 0.6%CVE-2024-54952HIGHMikroTik RouterOS 6.40.5, the SMB service contains a memory corruption vulnerability. Remote, unauthenticated attackers can exploit this issEPSS 0.6%CVE-2025-54989MEDIUMFirebird XDR Message Parsing NULL Pointer Dereference Denial-of-Service VulnerabilityEPSS 0.6%CVE-2025-30667MEDIUMZoom Workplace Apps - NULL Pointer DereferenceEPSS 0.5%CVE-2025-30666MEDIUMZoom Workplace Apps for Windows - NULL Pointer DereferenceEPSS 0.5%CVE-2025-30665MEDIUMZoom Workplace Apps for Windows - NULL Pointer DereferenceEPSS 0.5%CVE-2025-41691HIGHCODESYS Control DoS via Unauthenticated NULL Pointer DereferenceEPSS 0.5%CVE-2026-9639MEDIUMAuthenticated Denial of Service via Malicious Backup Tarball in LXDEPSS 0.5%CVE-2026-1973MEDIUMFree5GC SMF establishPfcpSession null pointer dereferenceEPSS 0.5%