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-2022-27786HIGHAdobe Acrobat Reader DC Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 12.1%CVE-2021-28663HIGHThe Arm Mali GPU kernel driver allows privilege escalation or information disclosure because GPU memory operations are mishandled, leading tEPSS 12.1%KEVCVE-2019-13510—Rockwell Automation Arena Simulation Software versions 16.00.00 and earlier contain a USE AFTER FREE CWE-416. A maliciously crafted Arena fiEPSS 12.0%CVE-2022-27790HIGHAdobe Acrobat Reader DC Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 11.9%CVE-2022-28238HIGHAdobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 11.9%CVE-2021-37973CRITICALUse after free in Portals in Google Chrome prior to 94.0.4606.61 allowed a remote attacker who had compromised the renderer process to potenEPSS 11.7%KEVCVE-2021-44710HIGHAdobe Acrobat Reader Use-after-free could lead to Arbitrary code executionEPSS 11.6%CVE-2021-45064HIGHAdobe Acrobat Reader DC AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 11.5%CVE-2022-24104HIGHAdobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 11.1%CVE-2020-8881HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.916. User interacEPSS 11.1%CVE-2025-26670HIGHLightweight Directory Access Protocol (LDAP) Client Remote Code Execution VulnerabilityEPSS 11.1%CVE-2021-30762HIGHA use after free issue was addressed with improved memory management. This issue is fixed in iOS 12.5.4. Processing maliciously crafted web EPSS 11.0%KEVCVE-2021-44704HIGHAdobe Acrobat Reader Use-After-Free could lead to Arbitrary code executionEPSS 10.8%CVE-2022-28269LOWAdobe Acrobat Reader DC Annotation Use-After-Free Information Disclosure VulnerabilityEPSS 10.7%CVE-2020-6572HIGHUse after free in Media in Google Chrome prior to 81.0.4044.92 allowed a remote attacker to execute arbitrary code via a crafted HTML page.EPSS 10.6%KEVCVE-2024-49116HIGHWindows Remote Desktop Services Remote Code Execution VulnerabilityEPSS 10.3%CVE-2022-2586MEDIUMIt was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-after-free once that EPSS 10.2%KEVCVE-2020-17410HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.0.0.35798. User interaEPSS 10.1%CVE-2020-17417HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.0.1.35811. User interactioEPSS 10.1%CVE-2017-0263HIGHThe kernel-mode drivers in Microsoft Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8.1, Windows Server 2012 Gold and R2, WindowEPSS 10.0%KEV