Falhas do tipo CWE-416

5.043 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-57585HIGHMessagePack: Out-of-bounds read/crash on Unpacker reuse after caught errorEPSS 0.5%CVE-2026-24676HIGHFreeRDP has a heap-use-after-free in audio_format_compatibleEPSS 0.5%CVE-2026-24681HIGHFreeRDP has a heap-use-after-free in urb_bulk_transfer_cbEPSS 0.5%CVE-2026-24683HIGHFreeRDP has a heap-use-after-free in ainput_send_input_eventEPSS 0.5%CVE-2026-24491HIGHFreeRDP has a heap-use-after-free in video_timerEPSS 0.5%CVE-2026-24675HIGHFreeRDP has a Heap-use-after-free in urb_select_interfaceEPSS 0.5%CVE-2026-9111HIGHUse after free in WebRTC in Google Chrome on Linux prior to 148.0.7778.179 allowed a remote attacker to execute arbitrary code via a craftedEPSS 0.5%CVE-2026-9995HIGHUse after free in WebXR in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sandbox via a EPSS 0.5%CVE-2026-9120HIGHUse after free in WebRTC in Google Chrome prior to 148.0.7778.179 allowed a remote attacker to execute arbitrary code via a crafted HTML pagEPSS 0.5%CVE-2026-7342HIGHUse after free in WebView in Google Chrome on Android prior to 147.0.7727.138 allowed a remote attacker to execute arbitrary code inside a sEPSS 0.5%CVE-2026-9962HIGHUse after free in WebRTC in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sandbox via aEPSS 0.5%CVE-2026-7336HIGHUse after free in WebRTC in Google Chrome prior to 147.0.7727.138 allowed a remote attacker to execute arbitrary code inside a sandbox via aEPSS 0.5%CVE-2026-7341HIGHUse after free in WebRTC in Google Chrome prior to 147.0.7727.138 allowed a remote attacker to execute arbitrary code inside a sandbox via aEPSS 0.5%CVE-2025-48945HIGHpycares has a Use-After-Free VulnerabilityEPSS 0.5%CVE-2022-4382MEDIUMA use-after-free flaw caused by a race among the superblock operations in the gadgetfs Linux driver was found. It could be triggered by yankEPSS 0.5%CVE-2026-20859HIGHWindows Kernel-Mode Driver Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2024-5842HIGHUse after free in Browser UI in Google Chrome prior to 126.0.6478.54 allowed a remote attacker who convinced a user to engage in specific UIEPSS 0.5%CVE-2026-4696CRITICALUse-after-free in the Layout: Text and Fonts componentEPSS 0.5%CVE-2026-4691CRITICALUse-after-free in the CSS Parsing and Computation componentEPSS 0.5%CVE-2024-5832HIGHUse after free in Dawn in Google Chrome prior to 126.0.6478.54 allowed a remote attacker to potentially exploit heap corruption via a crafteEPSS 0.5%