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-2024-56554HIGHbinder: fix freeze UAF in binder_release_work()EPSS 0.2%CVE-2026-11694HIGHUse after free in ServiceWorker in Google Chrome prior to 149.0.7827.103 allowed a remote attacker who had compromised the renderer process EPSS 0.2%CVE-2026-50440HIGHWindows Audio Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50317HIGHWindows Operating Systems Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-35418HIGHWindows Cloud Files Mini Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-84122MEDIUMUse-after-free in the Audio/Video componentEPSS 0.2%CVE-2026-32090HIGHWindows Speech Brokered Api Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-58526HIGHWindows Storage Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50676HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50321HIGHWindows USB Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2025-15570MEDIUMckolivas lrzip stream.c lzma_decompress_buf use after freeEPSS 0.2%CVE-2026-34337HIGHWindows Cloud Files Mini Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-27927HIGHWindows Projected File System Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26167HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2025-11465HIGHAshlar-Vellum Cobalt CO File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.2%CVE-2024-53139HIGHsctp: fix possible UAF in sctp_v6_available()EPSS 0.2%CVE-2025-22020HIGHmemstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_removeEPSS 0.2%CVE-2024-56619HIGHnilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()EPSS 0.2%CVE-2025-68656MEDIUMEspressif ESP-IDF USB Host HID (Human Interface Device) Driver Descriptor Use-After-Free VulnerabilityEPSS 0.2%CVE-2025-68617HIGHUse after free in fluidsynthEPSS 0.2%