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-22207HIGHJunos OS: MX Series with MPC11: In a GNF / node slicing scenario gathering AF interface statistics can lead to a kernel crashEPSS 0.8%CVE-2024-43552HIGHWindows Shell Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-6100CRITICALUse-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressureEPSS 0.8%CVE-2019-11778—If an MQTT v5 client connects to Eclipse Mosquitto versions 1.6.0 to 1.6.4 inclusive, sets a last will and testament, sets a will delay inteEPSS 0.8%CVE-2025-62199HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-36726HIGHWindows Internet Key Exchange (IKE) Extension Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2024-7724HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-4610HIGHMali GPU Kernel Driver allows improper GPU memory processing operationsEPSS 0.8%KEVCVE-2024-7725HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-7723HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-38119HIGHWindows Network Address Translation (NAT) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-63035HIGHo6 Automation open62541 Use After FreeEPSS 0.8%CVE-2022-3888HIGHUse after free in WebCodecs in Google Chrome prior to 107.0.5304.106 allowed a remote attacker to potentially exploit heap corruption via a EPSS 0.8%CVE-2019-25085MEDIUMGNOME gvdb gvdb-builder.c gvdb_table_write_contents_async use after freeEPSS 0.8%CVE-2026-49169HIGHWindows DNS Server Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-23420HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2021-32421HIGHdpic 2021.01.01 has a Heap Use-After-Free in thedeletestringbox() function in dpic.y.EPSS 0.7%CVE-2024-8376HIGHMemory leakEPSS 0.7%CVE-2026-50340HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2023-28287HIGHMicrosoft Publisher Remote Code Execution VulnerabilityEPSS 0.7%