Falhas do tipo CWE-416

5.129 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-32152HIGHDesktop Window Manager Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-58632HIGHWindows Win32 Kernel Subsystem Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-48583HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50353HIGHDirectX Graphics Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-33098HIGHWindows Container Isolation FS Filter Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-56643HIGHDirectX Graphics Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62707HIGHWindows Modern Device Management (MDM) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-27923HIGHDesktop Window Manager Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-42983HIGHWindows DWM Core Library Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-58602HIGHWindows Kernel-Mode Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-49795HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-40419HIGHMicrosoft Office Click-To-Run Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-40418HIGHMicrosoft Office Click-To-Run Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-54114HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50354HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-65775HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-34338HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50486HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50326HIGHWindows Unified Consent System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50329HIGHMicrosoft DWM Core Library Elevation of Privilege VulnerabilityEPSS 0.3%