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-2024-37969HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.4%CVE-2025-62549HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.3%CVE-2020-27288An untrusted pointer dereference has been identified in the way TPEditor(v1.98 and prior) processes project files, allowing an attacker to cEPSS 1.3%CVE-2020-1899The unserialize() function supported a type code, "S", which was meant to be supported only for APC serialization. This type code allowed arEPSS 1.2%CVE-2018-12548In OpenJDK + Eclipse OpenJ9 version 0.11.0 builds, the public jdk.crypto.jniprovider.NativeCrypto class contains public static natives whichEPSS 1.1%CVE-2025-21381HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 1.1%CVE-2024-38185HIGHWindows Kernel-Mode Driver Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2024-38187HIGHWindows Kernel-Mode Driver Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2024-49090HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2020-26997A vulnerability has been identified in Solid Edge SE2020 (All versions < SE2020MP13), Solid Edge SE2020 (All versions < SE2020MP14), Solid EEPSS 1.0%CVE-2026-21250HIGHWindows HTTP.sys Elevation of Privilege VulnerabilityEPSS 1.0%CVE-2023-36045HIGHMicrosoft Office Graphics Remote Code Execution VulnerabilityEPSS 1.0%CVE-2025-21354HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.9%CVE-2021-38401HIGHFuji Electric Tellus Lite V-Simulator untrusted pointer dereferenceEPSS 0.9%CVE-2022-22514HIGHUntrusted Pointer Dereference in multiple CODESYS products can lead to a DoS.EPSS 0.9%CVE-2024-43529HIGHWindows Print Spooler Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-50424HIGHWindows Domain Controller Denial of Service VulnerabilityEPSS 0.8%CVE-2025-29812HIGHDirectX Graphics Kernel Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2025-27747HIGHMicrosoft Word Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-20682HIGHWindows Cryptographic Services Remote Code Execution VulnerabilityEPSS 0.8%