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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

292 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-13593 CSS::Minifier::XS versions before 0.14 for Perl have a memory leak when the entire document is minified away — CSS::Minifier::XS - - 2026-06-29
CVE-2026-53429 Unbounded native memory leak in mdex escaped-tag rendering enables unauthenticated denial of service — mdex - - 2026-06-29
CVE-2026-56368 ImageMagick - Memory Leak in Raw Pixel Data Coders — ImageMagick 3.7 Low 2026-06-24
CVE-2026-56116 dhcpcd Memory Leak DoS via IPv6 Router Advertisement Handling — dhcpcd 6.5 Medium 2026-06-23
CVE-2026-56371 ImageMagick - Memory Leak in TXT File Processing via Texture Attribute — ImageMagick 5.3 Medium 2026-06-23
CVE-2026-48141 Memory leak in NI grpc-device BeginSidebandStream — grpc-device 5.3 Medium 2026-06-19
CVE-2026-0646 Rockwell Automation FLEX I/O Dual-port EtherNet/IP Adapters – Multiple Vulnerabilities — FLEX I/O EtherNet/IP Adapters - - 2026-06-16
CVE-2026-48059 Netty HAProxy: Unbalanced Reference Count in Nested PP2_TYPE_SSL TLV Parsing Leads to Memory Exhaustion — netty 8.7 High 2026-06-12
CVE-2026-48006 Netty's Lack of Lifecycle Cleanup Leads to Pooled ByteBuf Leak in RedisArrayAggregator — netty 8.7 High 2026-06-12
CVE-2026-20746 PingDirectory copying of virtual attributes leads to memory exhaustion — PingDirectory 6.3 Medium 2026-06-12
CVE-2026-53464 ImageMagick: Memory Leak in wand option parser when providing invalid arguments — ImageMagick 4.0 Medium 2026-06-10
CVE-2026-41840 Spring Framework 资源管理错误漏洞 — Spring Framework 5.9 Medium 2026-06-09
CVE-2026-45682 OpenTelemetry eBPF Instrumentation: CappedConcurrentHashMap leaks keys after removals — opentelemetry-ebpf-instrumentation 5.1 Medium 2026-06-02
CVE-2026-47326 Memory leak in Ubuntu Linux AppArmor large notification response allocation — Ubuntu Linux 5.5 Medium 2026-05-28
CVE-2026-44660 UltraJSON: Memory Leak in ujson.dump() on Write Failure — ultrajson - - 2026-05-27
CVE-2026-9572 GPAC MP4Box media.c Media_GetSample memory leak — GPAC 3.3 Low 2026-05-26
CVE-2026-35424 Internet Key Exchange (IKE) Protocol Denial of Service Vulnerability — Windows 10 Version 1607 7.5 High 2026-05-12
CVE-2026-43506 Prosody 安全漏洞 — Prosody 5.3 Medium 2026-05-01
CVE-2026-7379 Missing Release of Memory after Effective Lifetime in Wireshark — Wireshark 5.5 Medium 2026-04-30
CVE-2026-40336 libgphoto2 has memory leak in ptp_unpack_Sony_DPD() secondary enumeration list in ptp-pack.c — libgphoto2 2.4 Low 2026-04-17
CVE-2026-33775 Junos OS: MX Series: Mismatch between configured and received packet types causes memory leak in bbe-smgd — Junos OS 6.5 Medium 2026-04-09
CVE-2026-33782 Junos OS: MX Series: In specific DHCPv6 scenarios jdhcpd memory increases continuously with subscriber logouts — Junos OS 6.5 Medium 2026-04-09
CVE-2026-33780 Junos OS and Junos OS Evolved: In an EVPN-MPLS scenario churn of ESI routes causes a memory leak in l2ald — Junos OS 6.5 Medium 2026-04-09
CVE-2026-34052 LTI JupyterHub Authenticator: Unbounded Memory Growth via Nonce Storage (Denial of Service) — ltiauthenticator 5.9 Medium 2026-04-03
CVE-2026-3650 Grassroots DICOM Missing release of memory after effective lifetime — Grassroots DICOM (GDCM) 7.5 High 2026-03-26
CVE-2026-4247 TCP: remotely exploitable DoS vector (mbuf leak) — FreeBSD 7.5 - 2026-03-26
CVE-2026-20012 Cisco多款产品 安全漏洞 — IOS 8.6 High 2026-03-25
CVE-2026-33852 Missing Release of Memory after Effective Lifetime in MolotovCherry Android-ImageMagick7 — Android-ImageMagick7 7.5 High 2026-03-24
CVE-2026-33856 Missing Release of Memory after Effective Lifetime in MolotovCherry Android-ImageMagick7 — Android-ImageMagick7 7.5 High 2026-03-24
CVE-2026-32874 UltraJSON has a Memory Leak parsing large integers allows DoS — ultrajson 7.5 High 2026-03-20

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