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-2022-34890HIGHThis vulnerability allows local attackers to disclose sensitive information on affected installations of Parallels Desktop 17.1.1 (51537). AEPSS 0.3%CVE-2023-35711HIGHAshlar-Vellum Cobalt XE File Parsing Untrusted Pointer Dereference Remote Code Execution VulnerabilityEPSS 0.3%CVE-2026-32077HIGHWindows UPnP Device Host Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-32222HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-33114HIGHMicrosoft Word Remote Code Execution VulnerabilityEPSS 0.3%CVE-2026-50479HIGHWindows USB Hub Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-55136HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.3%CVE-2026-27919HIGHWindows UPnP Device Host Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-26161HIGHWindows Sensor Data Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-2002HIGHGE CIMPLICITY Untrusted Pointer DereferenceEPSS 0.3%CVE-2025-54331MEDIUMAn issue was discovered in NPU in Samsung Mobile Processor Exynos 1380 through July 2025. There is an Untrusted Pointer Dereference of src_hEPSS 0.3%CVE-2022-2894HIGHMeasuresoft ScadaPro Server Untrusted Pointer DereferenceEPSS 0.3%CVE-2025-59187HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-0189HIGHNVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer handler which may lead to code execution, denial of seEPSS 0.3%CVE-2026-50382HIGHDirectX Graphics Kernel Remote Code Execution VulnerabilityEPSS 0.3%CVE-2023-43518HIGHUntrusted Pointer Dereference in VideoEPSS 0.3%CVE-2025-54114HIGHWindows Connected Devices Platform Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-0184HIGHNVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel mode layer handler which may lead to denial of servicEPSS 0.3%CVE-2026-23670MEDIUMWindows Virtualization-Based Security (VBS) Security Feature Bypass VulnerabilityEPSS 0.3%CVE-2021-20239A flaw was found in the Linux kernel in versions before 5.4.92 in the BPF protocol. This flaw allows an attacker with a local account to leaEPSS 0.3%