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-43509HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2025-62558HIGHMicrosoft Word Remote Code Execution VulnerabilityEPSS 0.6%CVE-2025-62559HIGHMicrosoft Word Remote Code Execution VulnerabilityEPSS 0.6%CVE-2024-6988HIGHUse after free in Downloads in Google Chrome on iOS prior to 127.0.6533.72 allowed a remote attacker to potentially exploit heap corruption EPSS 0.6%CVE-2025-21762HIGHarp: use RCU protection in arp_xmit()EPSS 0.6%CVE-2026-67299HIGHFreeRDP before 3.29.0 Use-After-Free via WindowIcon async messageEPSS 0.6%CVE-2024-53206CRITICALtcp: Fix use-after-free of nreq in reqsk_timer_handler().EPSS 0.6%CVE-2026-43812CRITICALA use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.7.10 and iPadOS 18.7.10, iOS 26.6 and iPEPSS 0.6%CVE-2023-33149HIGHMicrosoft Office Graphics Remote Code Execution VulnerabilityEPSS 0.6%CVE-2025-27476HIGHWindows Digital Media Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2025-27730HIGHWindows Digital Media Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2025-27467HIGHWindows Digital Media Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2022-49093CRITICALskbuff: fix coalescing for page_pool fragment recyclingEPSS 0.6%CVE-2020-25669—A vulnerability was found in the Linux Kernel where the function sunkbd_reinit having been scheduled by sunkbd_interrupt before sunkbd beingEPSS 0.6%CVE-2022-40133MEDIUMThere is an UAF vulnerability in vmwgfx driverEPSS 0.6%CVE-2022-45407HIGHIf an attacker loaded a font using <code>FontFace()</code> on a background worker, a use-after-free could have occurred, leading to a potentEPSS 0.6%CVE-2024-34094HIGHZDI-CAN-23474: Adobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.6%CVE-2024-50283CRITICALksmbd: fix slab-use-after-free in smb3_preauth_hash_rspEPSS 0.6%CVE-2024-6293HIGHUse after free in Dawn in Google Chrome prior to 126.0.6478.126 allowed a remote attacker to potentially exploit heap corruption via a craftEPSS 0.6%CVE-2024-6290HIGHUse after free in Dawn in Google Chrome prior to 126.0.6478.126 allowed a remote attacker to potentially exploit heap corruption via a craftEPSS 0.6%