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-2024-3935MEDIUMEclipse Mosquito: Double free vulnerabilityEPSS 0.7%CVE-2025-53948HIGHSantesoft Sante PACS Server Double FreeEPSS 0.7%CVE-2026-14164HIGHLibarchive: double-free vulnerability in rar5 decompression logic via dangling filtered_buf pointer in init_unpack()EPSS 0.7%CVE-2026-55007HIGHMicrosoft Exchange Server Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-29366HIGHWindows Geolocation Service Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-35368CRITICALFFmpeg n7.0 is affected by a Double Free via the rkmpp_retrieve_frame function within libavcodec/rkmppdec.c.EPSS 0.7%CVE-2026-62889HIGHWindows Secure Socket Tunneling Protocol (SSTP) Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-27127HIGHQTS, QuTS heroEPSS 0.7%CVE-2024-38247HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-25556MEDIUMMuPDF 1.23.0 through 1.27.0 Barcode Decoding Double FreeEPSS 0.7%CVE-2023-28296HIGHVisual Studio Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-84561CRITICALA double free issue was addressed with improved memory management. This issue is fixed in iOS 26.7 and iPadOS 26.7, iOS 27 and iPadOS 27, maEPSS 0.7%CVE-2024-35365HIGHFFmpeg version n6.1.1 has a double-free vulnerability in the fftools/ffmpeg_mux_init.c component of FFmpeg, specifically within the new_streEPSS 0.7%CVE-2025-50169HIGHWindows SMB Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-50276CRITICALnet: vertexcom: mse102x: Fix possible double free of TX skbEPSS 0.7%CVE-2026-50685HIGHWindows DHCP Server Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-44422HIGHFreeRDP RDPEAR NDR ref-id aliasing causes client-side UAF/double-free and type confusionEPSS 0.7%CVE-2026-20026MEDIUMMultiple Cisco Products Snort 3 DCERPC VulnerabilitiesEPSS 0.7%CVE-2024-30027HIGHNTFS Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2023-33161HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.6%