Falhas do tipo CWE-416

5.134 resultados

Uso após liberação de memória

Ocorre quando o código tenta acessar (ler ou escrever) um bloco de memória que já foi liberado (free, delete). O programa mantém um ponteiro para a memória, mas o sistema operacional pode reatribuir essa região para outro uso, causando corrupção de dados, travamento ou execução de código arbitrário.

Exemplo

Um servidor web aloca memória para armazenar dados de sessão do usuário, depois libera essa memória quando a sessão encerra. Se uma thread continuar tentando acessar essa sessão após a liberação, pode ler dados de outra sessão ou sobrescrever dados críticos de outro processo.

Como mitigar

Sempre anule ponteiros após liberar memória (ptr = NULL), use variáveis de controle para rastrear estado de alocação, implemente gerenciamento automático de memória quando possível (smart pointers em C++), e execute testes com sanitizers (AddressSanitizer, Valgrind) durante desenvolvimento e CI/CD.

CVE-2026-85360HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-58629HIGHDirectX Graphics Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69816HIGHWindows Accounts Control Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50392HIGHWindows Secure Kernel Mode Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-56183HIGHWindows MIDI Service Module Elevation of Privileges VulnerabilityEPSS 0.3%CVE-2026-69362HIGHWindows Error Reporting Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69310HIGHWindows DNS Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62723HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62788HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-32070HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69287HIGHWindows Remote Desktop Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62774HIGHWindows Graphics Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-65781HIGHWindows Autopilot Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69652HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-61346HIGHWindows Graphics Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-70577HIGHWindows Modern Device Management (MDM) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-49464HIGHerofs: fix buffer copy overflow of ztailpacking featureEPSS 0.3%CVE-2026-69735HIGHWindows Broadcast DVR User Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69470HIGHConnected User Experiences and Telemetry Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62694HIGHWindows Installer Elevation of Privilege VulnerabilityEPSS 0.3%