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-11059HIGHUse after free in Blink in Google Chrome prior to 149.0.7827.53 allowed a remote attacker to execute arbitrary code inside a sandbox via a cEPSS 0.3%CVE-2026-11055HIGHUse after free in ANGLE in Google Chrome on Windows prior to 149.0.7827.53 allowed a remote attacker to execute arbitrary code inside a sandEPSS 0.3%CVE-2026-56187HIGHWindows MIDI Service Module Elevation of Privileges VulnerabilityEPSS 0.3%CVE-2026-50476HIGHWindows Network Connections Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50358HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50393HIGHWindows Kernel-Mode Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-54129HIGHWindows Hyper-V Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50406HIGHWindows Backup Engine Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50688HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50359HIGHMicrosoft XML Core Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50307HIGHWindows TCP/IP Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-54989HIGHQuality Windows Audio/Video Experience (QWAVE) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50490HIGHWindows Installer Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-57093HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50674HIGHWindows USB Print Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-49085HIGHdrbd: Fix five use after free bugs in get_initial_stateEPSS 0.3%CVE-2026-50396HIGHWindows Kernel-Mode Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-11030HIGHUse after free in Network in Google Chrome prior to 149.0.7827.53 allowed a remote attacker to potentially exploit heap corruption via malicEPSS 0.3%CVE-2024-53227HIGHscsi: bfa: Fix use-after-free in bfad_im_module_exit()EPSS 0.3%CVE-2026-7910MEDIUMUse after free in Views in Google Chrome prior to 148.0.7778.96 allowed a remote attacker who had compromised the renderer process to bypassEPSS 0.3%