Falhas do tipo CWE-416

5.036 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-30858HIGHA use after free issue was addressed with improved memory management. This issue is fixed in iOS 14.8 and iPadOS 14.8, macOS Big Sur 11.6. PEPSS 13.4%KEVCVE-2021-34842HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.0.0.49893. User interaEPSS 13.3%CVE-2023-3217HIGHUse after free in WebXR in Google Chrome prior to 114.0.5735.133 allowed a remote attacker to potentially exploit heap corruption via a crafEPSS 13.3%CVE-2023-32233HIGHIn the Linux kernel through 6.3.1, a use-after-free in Netfilter nf_tables when processing batch requests can be abused to perform arbitraryEPSS 13.0%CVE-2024-0582HIGHKernel: io_uring: page use-after-free vulnerability via buffer ring mmapEPSS 12.8%CVE-2022-24102HIGHAdobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 12.6%CVE-2025-27480HIGHWindows Remote Desktop Services Remote Code Execution VulnerabilityEPSS 12.5%CVE-2022-27785HIGHAdobe Acrobat Reader DC Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 12.5%CVE-2022-28230HIGHAdobe Acrobat Reader DC AcroForm calculateNow Use-After-Free Remote Code Execution VulnerabilityEPSS 12.5%CVE-2022-28232HIGHAdobe Acrobat Reader DC Collab Object Use-After-Free Information Disclosure VulnerabilityEPSS 12.5%CVE-2022-28233HIGHAdobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 12.5%CVE-2022-27796HIGHAdobe Acrobat Reader DC AcroForm isBoxChecked Use-After-Free Remote Code Execution VulnerabilityEPSS 12.5%CVE-2022-28240HIGHAdobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 12.5%CVE-2024-43491CRITICALMicrosoft Windows Update Remote Code Execution VulnerabilityEPSS 12.4%CVE-2023-32373HIGHA use-after-free issue was addressed with improved memory management. This issue is fixed in watchOS 9.5, tvOS 16.5, macOS Ventura 13.4, iOSEPSS 12.2%KEVCVE-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-13510Rockwell 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-28238HIGHAdobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 11.9%CVE-2022-27790HIGHAdobe Acrobat Reader DC Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 11.9%