Falhas do tipo CWE-415

362 resultados

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). Após a liberação, aquele endereço pode ser reutilizado pelo sistema ou conter lixo, causando comportamento imprevisível, corrupção de dados ou execução de código arbitrário.

Exemplo

Um ponteiro é liberado com free() e depois o código tenta ler ou escrever nele novamente — por exemplo, chamar um método em um objeto deletado em C++, ou acessar um array após liberar sua memória. Um atacante pode explorar isso alocando novamente aquele espaço com dados maliciosos.

Como mitigar

Use linguagens com garbage collection ou gerenciamento automático de memória (Python, Java, Go). Em C/C++, implemente validação rigorosa de ponteiros, use smart pointers (unique_ptr, shared_ptr), defina ponteiros como nullptr após liberar, e revise fluxos de desalocação em código crítico com ferramentas como AddressSanitizer e Valgrind.

CVE-2023-26545MEDIUMIn the Linux kernel before 6.1.13, there is a double free in net/mpls/af_mpls.c upon an allocation failure (for registering the sysctl tableEPSS 0.3%CVE-2023-4256MEDIUMTcpreplay: tcprewrite: double free in tcpedit_dlt_cleanup() in plugins/dlt_plugins.cEPSS 0.3%CVE-2022-40515HIGHDouble free in VideoEPSS 0.3%CVE-2025-47975HIGHWindows Simple Search and Discovery Protocol (SSDP) Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-19316HIGHFireware OS Pre-Authentication Double Free in iked Allows Denial of Service (DoS)EPSS 0.3%CVE-2026-48850LOWPuTTY 0.72 before 0.84 has a double free in RSA KEX.EPSS 0.3%CVE-2026-21530MEDIUMWindows Rich Text Edit Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-32170MEDIUMWindows Rich Text Edit Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-72958HIGHWindows Credential Guard Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69725HIGHWindows Hello Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2024-47426HIGHSubstance3D - Painter | Double Free (CWE-415)EPSS 0.3%CVE-2024-3446HIGHQemu: virtio: dma reentrancy issue leads to double free vulnerabilityEPSS 0.3%CVE-2026-64621CRITICALFreeRDP before 3.28.0 Double-Free via selectedmonitorsEPSS 0.3%CVE-2026-35188MEDIUMDouble-free When Checking OCSP Stapled ResponseEPSS 0.3%CVE-2022-49541HIGHcifs: fix potential double free during failed mountEPSS 0.3%CVE-2020-15710MEDIUMPotential double-free in pulseaudioEPSS 0.3%CVE-2026-26163HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-49508HIGHHID: elan: Fix potential double free in elan_input_configuredEPSS 0.3%CVE-2026-20861HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20867HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%