Weaknesses of type CWE-822

213 results

Desreferência de ponteiro não validado

O código desreferencia um ponteiro sem verificar se ele é válido, nulo ou aponta para memória acessível. Isso ocorre quando dados externos (entrada do usuário, rede, arquivo) são usados diretamente como endereço de memória, permitindo leitura ou escrita em regiões arbitrárias e causando crash, vazamento de dados ou execução de código.

Example

Uma aplicação C recebe um endereço de memória em JSON enviado pelo cliente e o usa diretamente: `int *ptr = (int*)json_value; printf("%d", *ptr);`. Um atacante envia um endereço inválido ou privilégio elevado, causando acesso à memória inacessível ou leitura de dados sensíveis.

How to mitigate

Nunca confie em ponteiros vindos de entrada externa. Use referências indiretas seguras (índices de array, handles opacos, offsets validados) em vez de ponteiros brutos. Sempre valide endereços antes de desreferenciar e implemente verificações de limites e proteções como ASLR e DEP no sistema operacional.

CVE-2023-41139A maliciously crafted STP file when parsed through Autodesk AutoCAD 2024 and 2023 can be used to dereference an untrusted pointer. This vulnEPSS 0.3%CVE-2026-8835HIGHIBM HTTP Server is affected by multiple vulnerabilitiesEPSS 0.3%CVE-2026-50441HIGHWindows Resilient File System (ReFS) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-27920HIGHWindows UPnP Device Host Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50367HIGHWindows Sensor Data Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-0091HIGHCVEEPSS 0.2%CVE-2023-32277MEDIUMUntrusted Pointer Dereference in I/O subsystem for some Intel(R) QAT software before version 2.0.5 may allow authenticated user to potentialEPSS 0.2%CVE-2025-22464MEDIUMAn untrusted pointer dereference vulnerability in Ivanti Endpoint Manager before version 2024 SU1 or before version 2022 SU7 allows an attacEPSS 0.2%CVE-2023-25515HIGH NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability where unexpected untrusted data is parsed, which may lead to codEPSS 0.2%CVE-2023-21643CRITICALUntrusted Pointer Dereference in AutomotiveEPSS 0.2%CVE-2025-55696HIGHNtQueryInformation Token function (ntifs.h) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2022-26942HIGHMultiple missing pointer validation checks in trusted execution module in Motorola MTM5000EPSS 0.2%CVE-2023-34333HIGHUntrusted Pointer Dereference EPSS 0.2%CVE-2023-34332HIGHUntrusted Pointer Dereference in BMCEPSS 0.2%CVE-2024-34023MEDIUMUntrusted pointer dereference in some Intel(R) Graphics Drivers may allow an authenticated user to potentially enable escalation of privilegEPSS 0.2%CVE-2023-31023MEDIUMCVEEPSS 0.2%CVE-2024-21455HIGHUntrusted Pointer Dereference in DSP ServiceEPSS 0.2%CVE-2026-48340HIGHBridge | Untrusted Pointer Dereference (CWE-822)EPSS 0.2%CVE-2024-27353HIGHA memory corruption vulnerability in SdHost and SdMmcDevice in Insyde InsydeH2O kernel 5.2 before 05.29.09, kernel 5.3 before 05.38.09, kernEPSS 0.2%CVE-2023-42772HIGHUntrusted pointer dereference in UEFI firmware for some Intel(R) reference processors may allow a privileged user to potentially enable escaEPSS 0.2%