Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-415 (双重释放) — Vulnerability Class 349

349 vulnerabilities classified as CWE-415 (双重释放). AI Chinese analysis included.

CWE-415 represents a critical memory management weakness where a software product erroneously invokes the free function on the same memory address twice. This flaw typically arises from improper pointer handling or logic errors in deallocation sequences, leading to undefined behavior that attackers can exploit to achieve arbitrary code execution or cause denial-of-service conditions. By corrupting the heap’s internal metadata, a double free allows adversaries to manipulate memory allocation structures, potentially overwriting critical data or hijacking control flow. To prevent this vulnerability, developers must ensure that pointers are set to NULL immediately after being freed, thereby preventing subsequent deallocation attempts. Additionally, implementing robust memory management practices, such as using smart pointers in C++ or employing static analysis tools to detect duplicate free calls, significantly reduces the risk of this dangerous error occurring in production environments.

MITRE CWE Description
The product calls free() twice on the same memory address.
Common Consequences (1)
Integrity, Confidentiality, Availability Modify Memory, Execute Unauthorized Code or Commands
When a program calls free() twice with the same argument, the program's memory management data structures may become corrupted, potentially leading to the reading or modification of unexpected memory addresses. This corruption can cause the program to crash or, in some circumstances, cause two later…
Mitigations (3)
Architecture and Design Choose a language that provides automatic memory management.
Implementation Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
Implementation Use a static analysis tool to find double free instances.
Examples (2)
The following code shows a simple example of a double free vulnerability.
char* ptr = (char*)malloc (SIZE); ... if (abrt) { free(ptr); } ... free(ptr);
Bad · C
While contrived, this code should be exploitable on Linux distributions that do not ship with heap-chunk check summing turned on.
#include <stdio.h> #include <unistd.h> #define BUFSIZE1 512 #define BUFSIZE2 ((BUFSIZE1/2) - 8) int main(int argc, char **argv) { char *buf1R1; char *buf2R1; char *buf1R2; buf1R1 = (char *) malloc(BUFSIZE2); buf2R1 = (char *) malloc(BUFSIZE2); free(buf1R1); free(buf2R1); buf1R2 = (char *) malloc(BUFSIZE1); strncpy(buf1R2, argv[1], BUFSIZE1-1); free(buf2R1); free(buf1R2); }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2026-130665 ImageMagick before 7.1.2-35 Use After Free in EXR Decoder — ImageMagick 3.7 Low 2026-11-18
CVE-2026-130668 ImageMagick before 7.1.2-35 Double Free via DPC Compare Metric — ImageMagick 2.5 Low 2026-11-18
CVE-2026-130061 GPAC before 26.07.0 Double Free via gf_sg_sfcommand_del() in XMT Scenes — gpac 5.5 Medium 2026-11-16
CVE-2026-120221 frr: bgpd double free of peer-group Site-of-Origin when dynamic neighbors disconnect — frrouting 8.2 High 2026-11-13
CVE-2026-128017 FrankenPHP before 1.13.4 Double Free in Worker Mode via Non-Form POST — frankenphp 3.7 Low 2026-11-13
CVE-2026-100290 Double free after allocation failure in regcomp and regexec — glibc 3.7 Low 2026-11-11
CVE-2026-118719 Microsoft Office Excel Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 8.8 High 2026-11-10
CVE-2026-118702 Microsoft Office Excel Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 8.8 High 2026-11-10
CVE-2026-118296 Microsoft Office Excel Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 8.8 High 2026-11-10
CVE-2026-122163 Windows Image Acquisition Remote Code Execution Vulnerability — Windows 10 Version 1607 7.5 High 2026-11-10
CVE-2026-119963 Windows Message Queuing Remote Code Execution Vulnerability — Windows 10 Version 1607 8.1 High 2026-11-10
CVE-2026-119964 Windows Message Queuing Remote Code Execution Vulnerability — Windows 10 Version 1607 8.1 High 2026-11-10
CVE-2026-119962 Windows CredSSP Remote Code Execution Vulnerability — Windows 10 Version 1607 8.1 High 2026-11-10
CVE-2026-119957 Windows Remote Desktop Services Elevation of Privilege Vulnerability — Windows Server 2016 7.8 High 2026-11-10
CVE-2026-119934 Remote Desktop Client Remote Code Execution Vulnerability — Windows 10 Version 1607 8.8 High 2026-11-10
CVE-2026-119912 Windows Kernel Elevation of Privilege Vulnerability — Windows 10 Version 1607 6.7 Medium 2026-11-10
CVE-2026-119817 Windows Shell Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-11-10
CVE-2026-119399 Windows Installer Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.0 High 2026-11-10
CVE-2026-119992 Windows HTTP.sys Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.0 High 2026-11-10
CVE-2026-109503 Microsoft Office Word Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 8.8 High 2026-11-10
CVE-2026-118220 Windows Multiple Provider Router Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-11-10
CVE-2026-103571 Windows CNG Key Isolation Service Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.0 High 2026-11-10
CVE-2026-105547 Windows Setup and Deployment Elevation of Privilege Vulnerability — Windows 10 Version 1809 7.0 High 2026-11-10
CVE-2026-105545 Windows Installer Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.0 High 2026-11-10
CVE-2026-105526 Winsock Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.0 High 2026-11-10
CVE-2026-105496 Windows Advanced Rasterization Platform Elevation of Privilege Vulnerability — Windows 10 Version 1809 8.8 High 2026-11-10
CVE-2026-105025 Windows Advanced Rasterization Platform Elevation of Privilege Vulnerability — Windows 10 Version 1809 7.8 High 2026-11-10
CVE-2026-112796 Windows Event Collector Service Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.0 High 2026-11-10
CVE-2026-112758 Windows Defender Firewall Service Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-11-10
CVE-2026-96969 Windows TCP/IP Elevation of Privilege Vulnerability — Windows 10 Version 21H2 7.0 High 2026-11-10

Vulnerabilities classified as CWE-415 (双重释放) represent 349 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.