Falhas do tipo CWE-416

5.138 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-50371HIGHWindows LUA File Virtualization Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-34331HIGHWin32k Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-59122HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32163HIGHWindows User Interface Core Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-58598HIGHWindows Backup Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26172HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26174HIGHWindows Server Update Service (WSUS) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62908HIGHWindows Backup Engine Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-27926HIGHWindows Cloud Files Mini Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-27921HIGHWindows TDI Translation Driver (tdx.sys) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-48572HIGHWindows App Package Installer Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62748HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50345HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-69441HIGHWindows Installer Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-27911HIGHWindows User Interface Core Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-54112HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-56772HIGHkunit: string-stream: Fix a UAF bug in kunit_init_suite()EPSS 0.2%CVE-2026-68840HIGHWindows USB Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-42978HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62729HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%