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-2024-43465HIGHMicrosoft Excel Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-5947HIGHSIG(0) validation during query flood may lead to undefined behaviorEPSS 0.8%CVE-2023-32135LOWSante DICOM Viewer Pro DCM File Parsing Use-After-Free Information Disclosure VulnerabilityEPSS 0.8%CVE-2026-21253HIGHMailslot File System Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2022-3887HIGHUse after free in Web Workers in Google Chrome prior to 107.0.5304.106 allowed a remote attacker to potentially exploit heap corruption via EPSS 0.8%CVE-2026-17118CRITICALVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.8%CVE-2024-30343HIGHFoxit PDF Reader Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30354HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30338HIGHFoxit PDF Reader Doc Object Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30342HIGHFoxit PDF Reader Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30337HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2021-38467HIGHAUVESY VersiondogEPSS 0.8%CVE-2026-54995HIGHWindows Reliable Multicast Transport Driver (RMCAST) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-50439HIGHMicrosoft Message Queuing Queue Manager Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-2930HIGHUse after free in Extensions in Google Chrome prior to 114.0.5735.90 allowed an attacker who convinced a user to install a malicious extensiEPSS 0.8%CVE-2026-50487HIGHWindows DNS Client Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-50694HIGHWindows Secure Socket Tunneling Protocol (SSTP) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-25955MEDIUMFreeRDP has heap-use-after-free in xf_AppUpdateWindowFromSurface (stale XImage)EPSS 0.8%CVE-2022-32922HIGHA use after free issue was addressed with improved memory management. This issue is fixed in Safari 16.1, iOS 16.1 and iPadOS 16, macOS VentEPSS 0.8%CVE-2024-3515LOWUse after free in Dawn in Google Chrome prior to 123.0.6312.122 allowed a remote attacker to potentially exploit heap corruption via a craftEPSS 0.8%