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-2020-4060MEDIUMUse After Free in in cups_update_info in LoRa Basics StationEPSS 0.9%CVE-2022-28641HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.02.34. EPSS 0.9%CVE-2022-2858HIGHUse after free in Sign-In Flow in Google Chrome prior to 104.0.5112.101 allowed a remote attacker to potentially exploit heap corruption viaEPSS 0.9%CVE-2026-45185CRITICALExim before 4.99.3, in certain GnuTLS configurations, has a remotely reachable use-after-free in the BDAT body parsing path. It is triggeredEPSS 0.9%CVE-2021-21417HIGHUse after free in fluidsynthEPSS 0.9%CVE-2026-28387HIGHPotential Use-after-free in DANE Client CodeEPSS 0.9%CVE-2023-3214HIGHUse after free in Autofill payments in Google Chrome prior to 114.0.5735.133 allowed a remote attacker to potentially exploit heap corruptioEPSS 0.9%CVE-2025-21387HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-38160MEDIUMWindows TCP/IP Information Disclosure VulnerabilityEPSS 0.9%CVE-2023-21784HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.9%CVE-2024-1077HIGHUse after free in Network in Google Chrome prior to 121.0.6167.139 allowed a remote attacker to potentially exploit heap corruption via a maEPSS 0.9%CVE-2022-2855HIGHUse after free in ANGLE in Google Chrome prior to 104.0.5112.101 allowed a remote attacker to potentially exploit heap corruption via a crafEPSS 0.9%CVE-2024-43463HIGHMicrosoft Office Visio Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-32033MEDIUMMicrosoft Failover Cluster Remote Code Execution VulnerabilityEPSS 0.9%CVE-2026-13368CRITICALWatchGuard Firebox Race Condition and Use-After-Free in Mobile VPN with IKEv2 LDAP AuthenticationEPSS 0.9%CVE-2023-32134HIGHSante DICOM Viewer Pro DCM File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-38139HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.9%CVE-2023-2203HIGHA flaw was found in the WebKitGTK package. An improper input validation issue may lead to a use-after-free vulnerability. This flaw allows aEPSS 0.9%CVE-2025-21362HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-27578HIGHPixmeo OsiriX MD Use After FreeEPSS 0.9%