Falhas do tipo CWE-416

6.170 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-2021-30661HIGHA use after free issue was addressed with improved memory management. This issue is fixed in Safari 14.1, iOS 12.5.3, iOS 14.5 and iPadOS 14EPSS 4.5%KEVCVE-2022-34233MEDIUMAdobe Acrobat Reader DC Doc print Use-After-Free Information Disclosure VulnerabilityEPSS 4.5%CVE-2019-18197HIGHIn xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area haEPSS 4.4%CVE-2021-31441HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576. User interactioEPSS 4.4%CVE-2021-31450HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576. User interactioEPSS 4.4%CVE-2021-31453HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576. User interactioEPSS 4.4%CVE-2021-31451HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576. User interactioEPSS 4.4%CVE-2021-28641HIGHAdobe Acrobat Reader Use-After-Free Arbitrary Code Execution VulnerabilityEPSS 4.3%CVE-2022-34220HIGHAcrobat Reader DC Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 4.3%CVE-2019-6769HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.4.1.16828. User interactiEPSS 4.3%CVE-2021-21033HIGHAcrobat Reader DC Use-After-Free Vulnerability Could Lead To Arbitrary Code ExecutionEPSS 4.3%CVE-2021-21035HIGHAcrobat Reader DC Use-After-Free Vulnerability Could Lead To Arbitrary Code ExecutionEPSS 4.3%CVE-2021-21028HIGHAcrobat Reader DC Use-After-Free Vulnerability Could Lead To Arbitrary Code ExecutionEPSS 4.3%CVE-2021-21021HIGHAcrobat Reader DC Use-After-Free Vulnerability Could Lead To Arbitrary Code ExecutionEPSS 4.3%CVE-2024-30284HIGHZDI-CAN-23466: Adobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 4.3%CVE-2019-6774HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.4.1.16828. User interactionEPSS 4.2%CVE-2019-6775HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.5.0.20723. User interactionEPSS 4.2%CVE-2024-20683HIGHWin32k Elevation of Privilege VulnerabilityEPSS 4.2%CVE-2019-6734—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit PhantomPDF. User interactiEPSS 4.2%CVE-2022-21540MEDIUMVulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot). Supported versions thEPSS 4.2%