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-1931HIGHUse-after-free in WebTransportChildEPSS 0.5%CVE-2023-38112HIGHFoxit PDF Reader XFA Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-27925MEDIUMWindows UPnP Device Host Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-4723CRITICALUse-after-free in the JavaScript Engine componentEPSS 0.5%CVE-2024-4777HIGHMemory safety bugs present in Firefox 125, Firefox ESR 115.10, and Thunderbird 115.10. Some of these bugs showed evidence of memory corruptiEPSS 0.5%CVE-2021-4322HIGHUse after free in DevTools in Google Chrome prior to 91.0.4472.77 allowed an attacker who convinced a user to install a malicious extension EPSS 0.5%CVE-2020-1752HIGHA use-after-free vulnerability introduced in glibc upstream version 2.14 was found in the way the tilde expansion was carried out. DirectoryEPSS 0.5%CVE-2026-20952HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.5%CVE-2023-4750HIGHUse After Free in vim/vimEPSS 0.5%CVE-2026-82619MEDIUMSysterel S2OPC subscription_mgr.c use after freeEPSS 0.5%CVE-2026-79027HIGHUse after free in WebRTC in Google Chrome prior to 152.0.7977.65 allowed a remote attacker to execute arbitrary code inside the sandbox via EPSS 0.5%CVE-2026-76040HIGHUse after free in Browser in Google Chrome on on Mac prior to 151.0.7922.169 allowed a remote attacker leveraging social engineering to execEPSS 0.5%CVE-2025-24072HIGHMicrosoft Local Security Authority (LSA) Server Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-6785HIGHMemory safety bugs fixed in Firefox ESR 115.35, Firefox ESR 140.10, Thunderbird ESR 140.10, Firefox 150 and Thunderbird 150EPSS 0.5%CVE-2025-15269HIGHFontForge SFD File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-6786HIGHMemory safety bugs fixed in Firefox ESR 140.10, Thunderbird ESR 140.10, Firefox 150 and Thunderbird 150EPSS 0.5%CVE-2025-24046HIGHKernel Streaming Service Driver Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2023-27348HIGHPDF-XChange Editor TIF File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.5%CVE-2023-35828HIGHAn issue was discovered in the Linux kernel before 6.3.2. A use-after-free was found in renesas_usb3_remove in drivers/usb/gadget/udc/renesaEPSS 0.5%CVE-2022-2946HIGHUse After Free in vim/vimEPSS 0.5%