Weaknesses of type CWE-415

364 results

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

Ocorre quando o código tenta acessar ou manipular um bloco de memória após ele ter sido liberado (freed). O programa perde o controle sobre esse espaço, que pode ser reatribuído a outra estrutura de dados, causando corrupção de memória, travamentos ou execução arbitrária de código.

Example

Um buffer é alocado com malloc(), um ponteiro guarda seu endereço, o buffer é liberado com free(), mas o código continua usando o ponteiro para ler ou escrever dados. Um atacante pode alocar uma estrutura crítica no mesmo endereço e fazer o programa sobrescrever dados sensíveis ou ganhar controle de execução.

How to mitigate

Após liberar memória (free, delete), sempre anule o ponteiro (ptr = NULL) ou use linguagens com gerenciamento automático. Em C/C++, implemente verificações de validade ou use ferramentas como AddressSanitizer durante testes. Prefira smart pointers (unique_ptr, shared_ptr) em C++ moderno.

CVE-2023-1032MEDIUMThe Linux kernel io_uring IORING_OP_SOCKET operation contained a double free in function __sys_socket_file() in file net/socket.c. This issuEPSS 0.3%CVE-2026-69309HIGHWindows Print Spooler Components Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69292HIGHRemote Desktop Gateway Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-2925MEDIUMHDF5 H5MM.c H5MM_realloc double freeEPSS 0.3%CVE-2026-61366HIGHWindows Network Connection Broker Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-65780HIGHWindows Autopilot Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-34341HIGHWindows Link-Layer Discovery Protocol (LLDP) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-70567HIGHWindows Display Enhancement Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-71351HIGHWindows Routing and Remote Access Service (RRAS) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62766HIGHWindows Kerberos Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-26166HIGHWindows Shell Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-70562HIGHWindows Audio Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-71353HIGHWindows Routing and Remote Access Service (RRAS) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2021-47638HIGHubifs: rename_whiteout: Fix double free for whiteout_ui->dataEPSS 0.3%CVE-2022-49290HIGHmac80211: fix potential double free on mesh joinEPSS 0.3%CVE-2024-58055HIGHusb: gadget: f_tcm: Don't free command immediatelyEPSS 0.3%CVE-2026-84964HIGHHeap corruption via OCSP request double free from crafted multi-URL certificate in TLS clientEPSS 0.3%CVE-2021-1119HIGHNVIDIA vGPU software contains a vulnerability in the Virtual GPU Manager (vGPU plugin), where it can double-free a pointer, which may lead tEPSS 0.3%CVE-2026-50361HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-5100HIGHKL-001-2025-005: Mobile Dynamix PrinterShare Mobile Print Double-Free Memory WriteEPSS 0.3%