Weaknesses of type CWE-416

6,176 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-2015-2360HIGHwin32k.sys in the kernel-mode drivers in Microsoft Windows Server 2003 SP2 and R2 SP2, Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1EPSS 14.8%KEVCVE-2022-26485HIGHRemoving an XSLT parameter during processing could have lead to an exploitable use-after-free. We have had reports of attacks in the wild abEPSS 14.3%KEVCVE-2021-22940—Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory cEPSS 13.9%CVE-2023-3215HIGHUse after free in WebRTC in Google Chrome prior to 114.0.5735.133 allowed a remote attacker to potentially exploit heap corruption via a craEPSS 13.8%CVE-2026-5281HIGHUse after free in Dawn in Google Chrome prior to 146.0.7680.178 allowed a remote attacker who had compromised the renderer process to executEPSS 13.7%KEVCVE-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.4%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-2024-43491CRITICALMicrosoft Windows Update Remote Code Execution VulnerabilityEPSS 12.9%CVE-2024-0582HIGHKernel: io_uring: page use-after-free vulnerability via buffer ring mmapEPSS 12.8%CVE-2025-27480HIGHWindows Remote Desktop Services Remote Code Execution VulnerabilityEPSS 12.6%CVE-2022-24102HIGHAdobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 12.6%CVE-2022-27796HIGHAdobe Acrobat Reader DC AcroForm isBoxChecked Use-After-Free Remote Code Execution VulnerabilityEPSS 12.5%CVE-2022-28233HIGHAdobe Acrobat Reader DC Annotation Use-After-Free 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-28232HIGHAdobe Acrobat Reader DC Collab Object Use-After-Free Information Disclosure VulnerabilityEPSS 12.5%CVE-2022-28230HIGHAdobe Acrobat Reader DC AcroForm calculateNow 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-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%KEV