Weaknesses of type CWE-416

5,043 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-2022-0849HIGHUse After Free in r_reg_get_name_idx in radareorg/radare2EPSS 0.7%CVE-2023-6707HIGHUse after free in CSS in Google Chrome prior to 120.0.6099.109 allowed a remote attacker to potentially exploit heap corruption via a crafteEPSS 0.7%CVE-2024-44285HIGHA use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 18.1 and iPadOS 18.1, macOS Sequoia 15.1, tEPSS 0.7%CVE-2024-6291HIGHUse after free in Swiftshader in Google Chrome prior to 126.0.6478.126 allowed a remote attacker to potentially exploit heap corruption via EPSS 0.7%CVE-2025-47164HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-62553HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-49695HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-31972MEDIUMsamtools mpileup has use-after-free leading to an invalid readEPSS 0.7%CVE-2025-14424HIGHGIMP XCF File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-44422HIGHFreeRDP RDPEAR NDR ref-id aliasing causes client-side UAF/double-free and type confusionEPSS 0.7%CVE-2024-38612HIGHipv6: sr: fix invalid unregister error pathEPSS 0.7%CVE-2022-3306HIGHUse after free in survey in Google Chrome on ChromeOS prior to 106.0.5249.62 allowed a remote attacker to potentially exploit heap corruptioEPSS 0.7%CVE-2019-15213MEDIUMAn issue was discovered in the Linux kernel before 5.2.3. There is a use-after-free caused by a malicious USB device in the drivers/media/usEPSS 0.7%CVE-2022-49362CRITICALNFSD: Fix potential use-after-free in nfsd_file_put()EPSS 0.7%CVE-2025-31239MEDIUMA use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 18.5 and iPadOS 18.5, iPadOS 17.7.7, macOS EPSS 0.7%CVE-2022-43033MEDIUMAn issue was discovered in Bento4 1.6.0-639. There is a bad free in the component AP4_HdlrAtom::~AP4_HdlrAtom() which allows attackers to caEPSS 0.7%CVE-2022-46880MEDIUMA missing check related to tex units could have led to a use-after-free and potentially exploitable crash.<br />*Note*: This advisory was adEPSS 0.7%CVE-2023-0461HIGHUse-after-free vulnerability in the Linux KernelEPSS 0.7%CVE-2026-69474MEDIUMWindows Overlay Filter Information Disclosure VulnerabilityEPSS 0.7%CVE-2026-24678HIGHFreeRDP has a Heap-use-after-free in cam_v4l_stream_capture_threadEPSS 0.7%