Falhas do tipo CWE-416

5.038 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-2025-6424CRITICALUse-after-free in FontFaceSetEPSS 3.6%CVE-2023-21688HIGHNT OS Kernel Elevation of Privilege VulnerabilityEPSS 3.6%CVE-2018-17621This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.5096. User interactioEPSS 3.6%CVE-2020-9567HIGHAdobe Bridge versions 10.0.1 and earlier version have an use after free vulnerability. Successful exploitation could lead to arbitrary code EPSS 3.6%CVE-2025-9478HIGHUse after free in ANGLE in Google Chrome prior to 139.0.7258.154 allowed a remote attacker to potentially exploit heap corruption via a crafEPSS 3.6%CVE-2026-45447HIGHHeap Use-After-Free in the PKCS7_verify() FunctionEPSS 3.6%CVE-2019-6757HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.4.16811. User interactionEPSS 3.6%CVE-2023-35380HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 3.5%CVE-2024-30035HIGHWindows DWM Core Library Elevation of Privilege VulnerabilityEPSS 3.5%CVE-2024-22252CRITICALUse-after-free vulnerabilityEPSS 3.5%CVE-2021-28553HIGHAdobe Acrobat Reader use-after-free vulnerability could lead to arbitrary code executionEPSS 3.5%CVE-2023-21552HIGHWindows GDI Elevation of Privilege VulnerabilityEPSS 3.5%CVE-2022-28242HIGHAdobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 3.5%CVE-2022-34225HIGHAdobe Acrobat Reader DC AcroForm exportValues Use-After-Free Remote Code Execution VulnerabilityEPSS 3.5%CVE-2020-9566HIGHAdobe Bridge versions 10.0.1 and earlier version have an use after free vulnerability. Successful exploitation could lead to arbitrary code EPSS 3.5%CVE-2019-5126HIGHAn exploitable use-after-free vulnerability exists in the JavaScript engine of Foxit PDF Reader, version 9.7.0.29435. A specially crafted PDEPSS 3.5%CVE-2019-6762HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit PhantomPDF 9.4.1.16828. User interEPSS 3.5%CVE-2019-6761HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.4.0.16811. User interactiEPSS 3.5%CVE-2021-34831HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.4.37651. User interactioEPSS 3.5%CVE-2021-34848HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.0.0.49893. User interaEPSS 3.5%