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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-401 (在移除最后引用时对内存的释放不恰当(内存泄露)) — Vulnerability Class 349

349 vulnerabilities classified as CWE-401 (在移除最后引用时对内存的释放不恰当(内存泄露)). AI Chinese analysis included.

CWE-401 represents a memory management weakness where software fails to release allocated memory after its effective lifetime, leading to resource exhaustion. This defect typically manifests as a denial-of-service condition rather than direct code execution, as the continuous accumulation of unreleased memory gradually depletes system resources. Attackers exploit this by triggering repeated allocations, causing the application or host to crash when memory limits are reached. Developers prevent this by implementing rigorous memory lifecycle management, ensuring every allocation has a corresponding deallocation call. Utilizing automated static analysis tools helps identify leaks during development, while adopting garbage-collected languages or smart pointers in C++ can significantly reduce the risk. Regular memory profiling during testing further ensures that allocated resources are properly returned to the system, maintaining application stability and preventing resource starvation.

MITRE CWE Description
The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Common Consequences (2)
Availability DoS: Crash, Exit, or Restart, DoS: Instability, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory)
Most memory leaks result in general product reliability problems, but if an attacker can intentionally trigger a memory leak, the attacker might be able to launch a denial of service attack (by crashing or hanging the program) or take advantage of other unexpected program behavior resulting from a l…
Other Reduce Performance
Mitigations (3)
Implementation Choose a language or tool that provides automatic memory management, or makes manual memory management less error-prone. For example, glibc in Linux provides protection against free of invalid pointers. When using Xcode to target OS X or iOS, enable automatic reference counting (ARC) [REF-391]. To help correctly and consistently manage memory when programming in C++, consider using a smart pointer…
Architecture and Design Use an abstraction library to abstract away risky APIs. Not a complete solution.
Architecture and Design, Build and Compilation Consider using the Boehm-Demers-Weiser garbage collector (bdwgc), which can help avoid leaks.
Effectiveness: Moderate
Examples (1)
The following C function leaks a block of allocated memory if the call to read() does not return the expected number of bytes:
char* getBlock(int fd) { char* buf = (char*) malloc(BLOCK_SIZE); if (!buf) { return NULL; } if (read(fd, buf, BLOCK_SIZE) != BLOCK_SIZE) { return NULL; } return buf; }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2026-116159 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via -cdl Option — ImageMagick 3.3 Low 2026-10-25
CVE-2026-116157 ImageMagick before 7.1.2-33 Memory Leak in PerlMagick Property Reading — ImageMagick 3.3 Low 2026-10-25
CVE-2026-116158 ImageMagick before 7.1.2-33 Memory Leak in magick compare — ImageMagick 2.5 Low 2026-10-25
CVE-2026-116156 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via -set profile Option — ImageMagick 3.3 Low 2026-10-25
CVE-2026-116155 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via Crafted XMP Profile — ImageMagick 5.3 Medium 2026-10-25
CVE-2026-116154 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via XML Parsing Depth Limit — ImageMagick 5.3 Medium 2026-10-25
CVE-2026-116151 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak in JNG Encoder — ImageMagick 3.7 Low 2026-10-25
CVE-2026-116152 ImageMagick before 7.1.2-33 Memory Leak in MAT Decoder Error Path — ImageMagick 5.3 Medium 2026-10-25
CVE-2026-116150 ImageMagick before 7.1.2-33 Memory Leak in FPX Encoder — ImageMagick 3.1 Low 2026-10-25
CVE-2026-116146 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak in MSL Decoder — ImageMagick 3.7 Low 2026-10-25
CVE-2026-114613 MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure — msgpack-python 7.5 High 2026-10-22
CVE-2026-76489 Multiple Cisco Products Snort 3 Generic File Processing Memory Exhaustion Denial of Service Vulnerability — Cisco Open Source Snort3 5.8 Medium 2026-10-21
CVE-2026-77684 Bluetooth Classic HFP Hands-Free: TX buffer leak on RFCOMM disconnect leads to permanent Bluetooth denial of service — zephyr 5.7 Medium 2026-10-19
CVE-2026-110685 Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW method dies in decode_tag - - 2026-10-19
CVE-2026-110684 Cpanel::JSON::XS versions from 3.0202 before 4.80 for Perl leak memory and retain overloaded objects when encoding values as strings in encode_stringify - - 2026-10-19
CVE-2026-110677 Cpanel::JSON::XS versions from 4.28 before 4.80 for Perl leak the array collecting duplicate key values under dupkeys_as_arrayref in decode_hv - - 2026-10-19
CVE-2026-110672 Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded key of an object rejected for a duplicate key or a missing colon in decode_hv - - 2026-10-19
CVE-2026-110754 Text::CSV_XS versions before 1.65 for Perl leak the parsed fields of a record that fails to parse in getline - - 2026-10-16
CVE-2026-102053 Junos OS and Junos OS Evolved: An EVPN-VXLAN memory leak causes denial of service when active-active multihoming is used — Junos OS 5.3 Medium 2026-10-14
CVE-2026-102051 Junos OS and Junos OS Evolved: An attacker causes l2cpd memory exhaustion when LLDP fast receive processing is enabled — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102032 Junos OS and Junos OS Evolved: Unintended l2ald memory allocation causes a denial of service when static MAC IP configurations are present — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102081 Junos OS: SRX4000 Series, SRX5000 Series and MX Series with SPC3: With application services configured, high session churn causes memory leak which will ultimately impact traffic — Junos OS 7.5 High 2026-10-14
CVE-2026-101025 NGINX ngx_http_js_module vulnerability — NGINX JavaScript 5.3 Medium 2026-10-14
CVE-2026-83677 Windows DHCP Client Denial of Service Vulnerability — Windows 11 Version 24H2 7.5 High 2026-10-13
CVE-2026-70155 Windows DNS Denial of Service Vulnerability — Windows 10 Version 1607 7.5 High 2026-10-13
CVE-2026-70033 Windows Remote Desktop Gateway (RD Gateway) Denial of Service Vulnerability — Windows 10 Version 1607 7.5 High 2026-10-13
CVE-2026-109278 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in Wavelet-Denoise Operation — ImageMagick 3.7 Low 2026-10-12
CVE-2026-109270 ImageMagick before 7.1.2-32 Memory Leak via -process Option — ImageMagick 3.3 Low 2026-10-12
CVE-2026-109263 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in YUV Encoder — ImageMagick 3.7 Low 2026-10-12
CVE-2026-109262 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in SVG Encoder — ImageMagick 5.3 Medium 2026-10-12

Vulnerabilities classified as CWE-401 (在移除最后引用时对内存的释放不恰当(内存泄露)) represent 349 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.