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-2026-50322HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62693HIGHWindows MIDI Service Module Elevation of Privileges VulnerabilityEPSS 0.2%CVE-2026-45601HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50345HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50349HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-11644HIGHUse after free in Views in Google Chrome on Linux prior to 149.0.7827.103 allowed an attacker who convinced a user to install a malicious exEPSS 0.2%CVE-2026-27926HIGHWindows Cloud Files Mini Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26174HIGHWindows Server Update Service (WSUS) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62908HIGHWindows Backup Engine Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62705HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-68840HIGHWindows USB Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-0124LOWNVIDIA CUDA Toolkit for Windows and Linux contains a vulnerability in the nvdisam command line tool, where a user can cause nvdisasm to readEPSS 0.2%CVE-2026-11185HIGHUse after free in V8 in Google Chrome prior to 149.0.7827.53 allowed an attacker who convinced a user to install a malicious extension to exEPSS 0.2%CVE-2026-87877HIGHzstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()EPSS 0.2%CVE-2025-64531HIGHSubstance3D - Stager | Use After Free (CWE-416)EPSS 0.2%CVE-2025-33217HIGHNVIDIA Display Driver for Windows contains a vulnerability where an attacker could trigger a use after free. A successful exploit of this vuEPSS 0.2%CVE-2024-56764HIGHublk: detach gendisk from ublk device if add_disk() failsEPSS 0.2%CVE-2024-50149HIGHdrm/xe: Don't free job in TDREPSS 0.2%CVE-2023-4134MEDIUMKernel: cyttsp4_core: use-after-free in cyttsp4_watchdog_work()EPSS 0.2%CVE-2025-21714HIGHRDMA/mlx5: Fix implicit ODP use after freeEPSS 0.2%