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-8530HIGHUse after free in Network in Google Chrome on Windows prior to 148.0.7778.168 allowed a remote attacker who had compromised the renderer proEPSS 0.3%CVE-2026-7350HIGHUse after free in WebMIDI in Google Chrome prior to 147.0.7727.138 allowed a remote attacker who had compromised the renderer process to potEPSS 0.3%CVE-2026-15442LOWHeap use-after-free on read during bidirectional (D)TLS shutdownEPSS 0.3%CVE-2026-9988HIGHUse after free in WebRTC in Google Chrome on Linux prior to 148.0.7778.216 allowed a remote attacker to potentially perform a sandbox escapeEPSS 0.3%CVE-2025-62230HIGHXorg: xwayland: use-after-free in xkb client resource removalEPSS 0.3%CVE-2021-47646HIGHRevert "Revert "block, bfq: honor already-setup queue merges""EPSS 0.3%CVE-2025-1432HIGH3DM File Parsing Use-After-Free VulnerabilityEPSS 0.3%CVE-2022-49053HIGHscsi: target: tcmu: Fix possible page UAFEPSS 0.3%CVE-2025-10501HIGHUse after free in WebRTC in Google Chrome prior to 140.0.7339.185 allowed a remote attacker to potentially exploit heap corruption via a craEPSS 0.3%CVE-2025-49561HIGHAnimate | Use After Free (CWE-416)EPSS 0.3%CVE-2022-49505HIGHNFC: NULL out the dev->rfkill to prevent UAFEPSS 0.3%CVE-2022-49474HIGHBluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeoutEPSS 0.3%CVE-2026-7920HIGHUse after free in Skia in Google Chrome prior to 148.0.7778.96 allowed a remote attacker who had compromised the renderer process to potentiEPSS 0.3%CVE-2025-31946MEDIUMPixmeo OsiriX MD Use After FreeEPSS 0.3%CVE-2026-8587HIGHUse after free in Extensions in Google Chrome on Mac prior to 148.0.7778.168 allowed an attacker who convinced a user to install a maliciousEPSS 0.3%CVE-2026-7922HIGHUse after free in ServiceWorker in Google Chrome prior to 148.0.7778.96 allowed a remote attacker to potentially perform a sandbox escape viEPSS 0.3%CVE-2026-7975HIGHUse after free in DevTools in Google Chrome prior to 148.0.7778.96 allowed a remote attacker who had compromised the renderer process to potEPSS 0.3%CVE-2026-7917HIGHUse after free in Fullscreen in Google Chrome on Windows prior to 148.0.7778.96 allowed a remote attacker who had compromised the renderer pEPSS 0.3%CVE-2026-7985HIGHUse after free in GPU in Google Chrome prior to 148.0.7778.96 allowed a remote attacker who had compromised the renderer process to potentiaEPSS 0.3%CVE-2026-7919HIGHUse after free in Aura in Google Chrome prior to 148.0.7778.96 allowed a remote attacker who had compromised the renderer process to potentiEPSS 0.3%