Weaknesses of type CWE-416

5,043 results

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

Ocorre quando o código tenta acessar um bloco de memória que já foi desalocado (free/delete). O ponteiro continua apontando para aquele endereço, mas o dado ali pode ter sido sobrescrito por outra operação, causando comportamento impredizível, corrupção de dados ou execução de código arbitrário.

Example

Um buffer é alocado, depois liberado com free(). Mais adiante, o código ainda tenta ler ou escrever naquele mesmo ponteiro sem verificar. Se um atacante controlar a alocação subsequente daquele endereço, consegue manipular o conteúdo que será lido.

How to mitigate

Anule o ponteiro imediatamente após liberar (ptr = NULL), implemente análise estática para detectar acessos pós-liberação, use ferramentas como valgrind ou AddressSanitizer nos testes, e considere linguagens com gerenciamento automático de memória para código sensível.

CVE-2024-11235CRITICALReference counting in php_request_shutdown causes Use-After-FreeEPSS 1.5%CVE-2018-16884MEDIUMA flaw was found in the Linux kernel's NFS41+ subsystem. NFS41+ shares mounted in different network namespaces at the same time can make bc_EPSS 1.5%CVE-2024-49118HIGHMicrosoft Message Queuing (MSMQ) Remote Code Execution VulnerabilityEPSS 1.4%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-36882HIGHMicrosoft WDAC OLE DB provider for SQL Server 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-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%