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-69652HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-49043HIGHxmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.EPSS 0.3%CVE-2026-65781HIGHWindows Autopilot Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69310HIGHWindows DNS Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69889HIGHWindows Bluetooth Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-71333HIGHWindows Remote Access Connection Manager Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69362HIGHWindows Error Reporting Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-71340HIGHWindows File History Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-34340HIGHWindows Projected File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-56183HIGHWindows MIDI Service Module Elevation of Privileges VulnerabilityEPSS 0.3%CVE-2026-34335HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69287HIGHWindows Remote Desktop Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-59125HIGHVirtual Hard Disk (VHD) Miniport Driver Elevation of Privilege VulernabilityEPSS 0.3%CVE-2026-50392HIGHWindows Secure Kernel Mode Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69816HIGHWindows Accounts Control Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62773HIGHWindows Kerberos Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50410HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-26182HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-58619HIGHWindows Sensor Data Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-65678HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.3%