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-2024-5847HIGHUse after free in PDFium in Google Chrome prior to 126.0.6478.54 allowed a remote attacker to potentially exploit heap corruption via a crafEPSS 0.5%CVE-2025-26640HIGHWindows Digital Media Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-49682HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2024-5694HIGHAn attacker could have caused a use-after-free in the JavaScript engine to read memory in the JavaScript string section of the heap. This vuEPSS 0.5%CVE-2026-84324CRITICALUse after free in Proxy in Google Chrome prior to 152.0.7977.75 allowed a remote attacker to execute arbitrary code outside the sandbox via EPSS 0.5%CVE-2026-60002HIGHssh in OpenSSH before 10.4 can have a use-after-free when a server changes its host key during a key re-exchange. (This outcome occurs only EPSS 0.5%CVE-2026-0884CRITICALUse-after-free in the JavaScript Engine componentEPSS 0.5%CVE-2024-8638HIGHType Confusion in V8 in Google Chrome prior to 128.0.6613.137 allowed a remote attacker to potentially exploit object corruption via a craftEPSS 0.5%CVE-2026-2795HIGHUse-after-free in the JavaScript: GC componentEPSS 0.5%CVE-2024-7510HIGHTrimble SketchUp SKP File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-2799HIGHUse-after-free in the DOM: Core & HTML componentEPSS 0.5%CVE-2026-7322HIGHMemory safety bugs fixed in Thunderbird ESR 140.10.1 and Thunderbird 150.0.1EPSS 0.5%CVE-2026-2797HIGHUse-after-free in the JavaScript: GC componentEPSS 0.5%CVE-2024-9960HIGHUse after free in Dawn in Google Chrome prior to 130.0.6723.58 allowed a remote attacker to potentially exploit heap corruption via a crafteEPSS 0.5%CVE-2023-5345HIGHUse-after-free in Linux kernel's fs/smb/client componentEPSS 0.5%CVE-2024-30375HIGHLuxion KeyShot Viewer KSP File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-10882HIGHUse after free in Network in Google Chrome prior to 149.0.7827.53 allowed a remote attacker to execute arbitrary code via a crafted HTML pagEPSS 0.5%CVE-2023-21096CRITICALIn OnWakelockReleased of attribution_processor.cc, there is a use after free that could lead to remote code execution with no additional exeEPSS 0.5%CVE-2026-18706HIGHUse-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Potential Remote Code ExecutionEPSS 0.5%CVE-2026-70311HIGHMicrosoft Office Word Remote Code Execution VulnerabilityEPSS 0.5%