Falhas do tipo CWE-416

5.138 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-2023-6039MEDIUMKernel: use-after-free in drivers/net/usb/lan78xx.c in lan78xx_disconnectEPSS 0.3%CVE-2021-47656HIGHjffs2: fix use-after-free in jffs2_clear_xattr_subsystemEPSS 0.3%CVE-2024-53165HIGHsh: intc: Fix use-after-free bug in register_intc_controller()EPSS 0.3%CVE-2025-59189HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-88032HIGHApplication denial of service via cancellation race in reactive client-side encryption in MongoDB Java DriverEPSS 0.3%CVE-2025-44906HIGHjhead v3.08 was discovered to contain a heap-use-after-free via the ProcessFile function at jhead.c.EPSS 0.3%CVE-2026-10890HIGHUse after free in Cast in Google Chrome prior to 149.0.7827.53 allowed an attacker on the local network segment to potentially exploit heap EPSS 0.3%CVE-2025-5100HIGHKL-001-2025-005: Mobile Dynamix PrinterShare Mobile Print Double-Free Memory WriteEPSS 0.3%CVE-2026-50457HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2024-50257HIGHnetfilter: Fix use-after-free in get_info()EPSS 0.3%CVE-2026-50689HIGHWindows Clipboard Server Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-41848MEDIUMdrivers/char/pcmcia/synclink_cs.c in the Linux kernel through 5.19.12 has a race condition and resultant use-after-free if a physically proxEPSS 0.3%CVE-2022-49136HIGHBluetooth: hci_sync: Fix queuing commands when HCI_UNREGISTER is setEPSS 0.3%CVE-2026-88097HIGHMicrosoft Edge (Chromium-based) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50385HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-49568MEDIUMIllustrator | Use After Free (CWE-416)EPSS 0.3%CVE-2024-53174HIGHSUNRPC: make sure cache entry active before cache_showEPSS 0.3%CVE-2026-50458HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-26181HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-61349HIGHWindows Work Folder Service Elevation of Privilege VulnerabilityEPSS 0.3%