Weaknesses of type CWE-416

5,036 results

Uso após liberação de memória

Ocorre quando o código tenta acessar um bloco de memória que já foi desalocado (free/delete). O ponteiro continua apontando para aquele endereço, mas o dado ali pode ter sido sobrescrito por outra operação, causando comportamento impredizível, corrupção de dados ou execução de código arbitrário.

Example

Um buffer é alocado, depois liberado com free(). Mais adiante, o código ainda tenta ler ou escrever naquele mesmo ponteiro sem verificar. Se um atacante controlar a alocação subsequente daquele endereço, consegue manipular o conteúdo que será lido.

How to mitigate

Anule o ponteiro imediatamente após liberar (ptr = NULL), implemente análise estática para detectar acessos pós-liberação, use ferramentas como valgrind ou AddressSanitizer nos testes, e considere linguagens com gerenciamento automático de memória para código sensível.

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-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-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%