Falhas do tipo CWE-416

5.038 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-43599HIGHRemote Desktop Client Remote Code Execution VulnerabilityEPSS 1.4%CVE-2025-21297HIGHWindows Remote Desktop Services Remote Code Execution VulnerabilityEPSS 1.4%CVE-2022-2602MEDIUMio_uring UAF, Unix SCM garbage collectionEPSS 1.4%CVE-2015-8963HIGHRace condition in kernel/events/core.c in the Linux kernel before 4.4 allows local users to gain privileges or cause a denial of service (usEPSS 1.4%CVE-2024-9420HIGHA use-after-free in Ivanti Connect Secure before version 22.7R2.3 and 9.1R18.9 and Ivanti Policy Secure before version 22.7R1.2 allows a rEPSS 1.4%CVE-2021-31497HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of OpenText Brava! Desktop 16.6.3.84. User inEPSS 1.4%CVE-2021-31502HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of OpenText Brava! Desktop Build 16.6.4.55. UEPSS 1.4%CVE-2022-1968HIGHUse After Free in vim/vimEPSS 1.4%CVE-2023-39928HIGHA use-after-free vulnerability exists in the MediaRecorder API of Webkit WebKitGTK 2.40.5. A specially crafted web page can abuse this vulneEPSS 1.4%CVE-2024-20655MEDIUMMicrosoft Online Certificate Status Protocol (OCSP) Remote Code Execution VulnerabilityEPSS 1.4%CVE-2023-41974HIGHA use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 17 and iPadOS 17, iOS 15.8.7 and iPadOS 15.EPSS 1.4%KEVCVE-2023-36882HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 1.4%CVE-2016-9591—JasPer before version 2.0.12 is vulnerable to a use-after-free in the way it decodes certain JPEG 2000 image files resulting in a crash on tEPSS 1.4%CVE-2023-44323MEDIUMPDF Jbig2 memory-corruption Vulnerability - MSFT T5EPSS 1.4%CVE-2025-32701HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 1.4%KEVCVE-2025-21335HIGHWindows Hyper-V NT Kernel Integration VSP Elevation of Privilege VulnerabilityEPSS 1.4%KEVCVE-2022-0413HIGHUse After Free in vim/vimEPSS 1.4%CVE-2022-0443HIGHUse After Free in vim/vimEPSS 1.4%CVE-2026-5947HIGHSIG(0) validation during query flood may lead to undefined behaviorEPSS 1.4%CVE-2023-35300HIGHRemote Procedure Call Runtime Remote Code Execution VulnerabilityEPSS 1.4%