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-2021-33640MEDIUMAfter tar_close(), libtar.c releases the memory pointed to by pointer t. After tar_close() is called in the list() function, it continues toEPSS 0.7%CVE-2025-31115HIGHXZ has a heap-use-after-free bug in threaded .xz decoderEPSS 0.7%CVE-2023-44430HIGHBentley View SKP File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-6706HIGHUse after free in FedCM in Google Chrome prior to 120.0.6099.109 allowed a remote attacker who convinced a user to engage in specific UI intEPSS 0.7%CVE-2023-35323HIGHWindows OLE Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-6703HIGHUse after free in Blink in Google Chrome prior to 120.0.6099.109 allowed a remote attacker to potentially exploit heap corruption via a crafEPSS 0.7%CVE-2023-35313HIGHWindows Online Certificate Status Protocol (OCSP) SnapIn Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-30386HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-21367HIGHWindows Win32 Kernel Subsystem Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2025-21796CRITICALnfsd: clear acl_access/acl_default after releasing themEPSS 0.6%CVE-2022-38983CRITICALThe BT Hfp Client module has a Use-After-Free (UAF) vulnerability.Successful exploitation of this vulnerability may result in arbitrary codeEPSS 0.6%CVE-2026-35554HIGHApache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race ConditionEPSS 0.6%CVE-2025-47170HIGHMicrosoft Word Remote Code Execution VulnerabilityEPSS 0.6%CVE-2024-25767MEDIUMnanomq 0.21.2 contains a Use-After-Free vulnerability in /nanomq/nng/src/core/socket.c.EPSS 0.6%CVE-2024-39305MEDIUMEnvoy Proxy use after free when route hash policy is configured with cookie attributesEPSS 0.6%CVE-2024-49074HIGHWindows Kernel-Mode Driver Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2025-21315HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2024-35869CRITICALsmb: client: guarantee refcounted children from parent sessionEPSS 0.6%CVE-2025-30377HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.6%CVE-2024-22253CRITICALUse-after-free vulnerabilityEPSS 0.6%