Falhas do tipo CWE-416

5.043 resultados

Uso após liberação de memória

Ocorre quando o código tenta acessar (ler ou escrever) um bloco de memória que já foi liberado (free, delete). O programa mantém um ponteiro para a memória, mas o sistema operacional pode reatribuir essa região para outro uso, causando corrupção de dados, travamento ou execução de código arbitrário.

Exemplo

Um servidor web aloca memória para armazenar dados de sessão do usuário, depois libera essa memória quando a sessão encerra. Se uma thread continuar tentando acessar essa sessão após a liberação, pode ler dados de outra sessão ou sobrescrever dados críticos de outro processo.

Como mitigar

Sempre anule ponteiros após liberar memória (ptr = NULL), use variáveis de controle para rastrear estado de alocação, implemente gerenciamento automático de memória quando possível (smart pointers em C++), e execute testes com sanitizers (AddressSanitizer, Valgrind) durante desenvolvimento e CI/CD.

CVE-2026-59850MEDIUMLibssh: libssh: use-after-free via data callbacks on closed channelsEPSS 0.6%CVE-2025-21304HIGHMicrosoft DWM Core Library Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2024-38252HIGHWindows Win32 Kernel Subsystem Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2015-6564HIGHUse-after-free vulnerability in the mm_answer_pam_free_ctx function in monitor.c in sshd in OpenSSH before 7.0 on non-OpenBSD platforms mighEPSS 0.6%CVE-2025-59234HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.6%CVE-2023-0128HIGHUse after free in Overview Mode in Google Chrome on Chrome OS prior to 109.0.5414.74 allowed a remote attacker who convinced a user to engagEPSS 0.6%CVE-2024-38253HIGHWindows Win32 Kernel Subsystem Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2024-34095HIGHZDI-CAN-23475: Adobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.6%CVE-2024-34096HIGHZDI-CAN-23472: Adobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.6%CVE-2024-53179CRITICALsmb: client: fix use-after-free of signing keyEPSS 0.6%CVE-2024-34097HIGHZDI-CAN-23473: Adobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.6%CVE-2023-25747HIGHA potential use-after-free in libaudio was fixed by disabling the AAudio backend when running on Android API below version 30. *This bug onlEPSS 0.6%CVE-2023-29356HIGHMicrosoft ODBC Driver for SQL Server Remote Code Execution VulnerabilityEPSS 0.6%CVE-2025-0899HIGHPDF-XChange Editor AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.6%CVE-2025-36854HIGHEOL ASP.NET 6.0 Remote Code Execution VulnerabilityEPSS 0.6%CVE-2024-38921CRITICALOpen Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free via the nav2_amcl proceEPSS 0.6%CVE-2026-9158MEDIUMIn Eclipse 4diac FORTE versions 3.0.0 to 3.1.0, a specially crafted DELETE connection command to the management interface can lead to a dangEPSS 0.6%CVE-2023-0941HIGHUse after free in Prompts in Google Chrome prior to 110.0.5481.177 allowed a remote attacker to potentially exploit heap corruption via a crEPSS 0.6%CVE-2023-0928HIGHUse after free in SwiftShader in Google Chrome prior to 110.0.5481.177 allowed a remote attacker to potentially exploit heap corruption via EPSS 0.6%CVE-2023-36804HIGHWindows GDI Elevation of Privilege VulnerabilityEPSS 0.6%