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-2025-0238MEDIUMUse-after-free when breaking lines in textEPSS 0.8%CVE-2024-30358HIGHFoxit PDF Reader AcroForm User-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30360HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30352HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30361HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30336HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30351HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30339HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2022-1284HIGHheap-use-after-free in radareorg/radare2EPSS 0.8%CVE-2025-62562HIGHMicrosoft Outlook Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30344HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30346HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30345HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-29132MEDIUMIrssi 1.3.x and 1.4.x before 1.4.4 has a use-after-free because of use of a stale special collector reference. This occurs when printing of EPSS 0.8%CVE-2022-1444HIGHheap-use-after-free in radareorg/radare2EPSS 0.8%CVE-2022-3058HIGHUse after free in Sign-In Flow in Google Chrome prior to 105.0.5195.52 allowed a remote attacker who convinced a user to engage in specific EPSS 0.8%CVE-2025-30427MEDIUMA use-after-free issue was addressed with improved memory management. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4, iPadOS 1EPSS 0.8%CVE-2025-60723MEDIUMDirectX Graphics Kernel Denial of Service VulnerabilityEPSS 0.8%CVE-2024-1673HIGHUse after free in Accessibility in Google Chrome prior to 122.0.6261.57 allowed a remote attacker who had compromised the renderer process tEPSS 0.8%CVE-2024-43465HIGHMicrosoft Excel Elevation of Privilege VulnerabilityEPSS 0.8%