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-58175 Apache Traffic Server: HostDB SRV handling leaks memory — Apache Traffic Server 7.5 High 2026-07-29
CVE-2026-67183 TinyWeb 0.0.8 Memory Leak DoS via HTTP Request Handling — TinyWeb 7.5 High 2026-07-28
CVE-2026-66011 ImageMagick before 7.1.2-27 Memory Leak via Invalid CLI Options — ImageMagick 3.3 Low 2026-07-25
CVE-2026-10677 Kernel heap memory leak in `z_vrfy_k_poll()` lets an unprivileged user thread exhaust the kernel resource pool — zephyr 6.5 Medium 2026-07-21
CVE-2026-16318 QUIC Transport Parameters Memory Leak During HelloRetryRequest in s2n-tls — s2n-tls 5.3 Medium 2026-07-21
CVE-2026-47667 CImg Library: Uncontrolled Memory Allocation and Memory Leak in `_load_analyze()` via Crafted NIfTI/Analyze Header — CImg 7.5 High 2026-07-21
CVE-2026-61871 ImageMagick before 7.1.2-26 Memory Leak in ICON decoder — ImageMagick 3.7 Low 2026-07-15
CVE-2026-61872 ImageMagick before 7.1.2-26 Memory Leak via TIFF Encoder — ImageMagick 2.5 Low 2026-07-15
CVE-2026-61869 ImageMagick before 7.1.2-26 Memory Leak in MIFF Encoder — ImageMagick 2.9 Low 2026-07-15
CVE-2026-61868 ImageMagick before 7.1.2-26 Memory Leak in YUV Decoder — ImageMagick 3.7 Low 2026-07-15
CVE-2026-61867 ImageMagick before 7.1.2-26 Memory Leak in TIFF Encoder — ImageMagick 2.9 Low 2026-07-15
CVE-2026-61866 ImageMagick before 7.1.2-26 Memory Leak in JNG encoder — ImageMagick 2.9 Low 2026-07-15
CVE-2026-61865 ImageMagick before 7.1.2-26 Memory Leak in Hough Lines — ImageMagick 2.9 Low 2026-07-15
CVE-2026-61864 ImageMagick before 7.1.2-26 Memory Leak in Log Colorspace — ImageMagick 2.9 Low 2026-07-15
CVE-2026-61863 ImageMagick before 7.1.2-26 Memory Leak in TIFF Encoder — ImageMagick 2.9 Low 2026-07-15
CVE-2026-56375 ImageMagick - Memory Leak in ASHLAR Coder Action Failure — ImageMagick 3.3 Low 2026-07-15
CVE-2026-47482 NVIDIA Triton Inference Server 资源管理错误漏洞 — Triton Inference Server 7.5 High 2026-07-14
CVE-2026-44806 Windows Secure Channel Denial of Service Vulnerability — Windows 10 Version 1607 5.3 Medium 2026-07-14
CVE-2026-61870 ImageMagick before 7.1.2-26 Memory Leak via VIFF Encoder — ImageMagick 2.9 Low 2026-07-11
CVE-2026-56366 ImageMagick - Memory Leak in META Reader APP1JPEG Error Path — ImageMagick 3.3 Low 2026-07-10
CVE-2026-57027 Junos OS: EX4100 Series, EX4400: With sFlow configured in a VC scenario multicast traffic leads to an FPC crash — Junos OS 6.5 Medium 2026-07-09
CVE-2026-10699 Memory leak in SFTP service can result in a denial of service in MOVEit Transfer — MOVEit Transfer 7.5 High 2026-07-08
CVE-2026-13698 OpenVPN 资源管理错误漏洞 — OpenVPN - - 2026-07-06
CVE-2026-13708 Imager::File::JPEG versions before 1.003 for Perl leak heap memory when reading a JPEG with repeated APP13 markers in i_readjpeg_wiol — Imager::File::JPEG - - 2026-07-06
CVE-2026-56365 ImageMagick - Memory Leak in PNG Encoder via MNG Image Writing — ImageMagick 3.7 Low 2026-06-30
CVE-2026-56364 ImageMagick - Memory Leak in LoadOpenCLDeviceBenchmark() via Malformed XML — ImageMagick 1.9 Low 2026-06-30
CVE-2026-50254 OFFIS DCMTK Toolkit Missing Release of Memory after Effective Lifetime — DCMTK Toolkit 7.5 High 2026-06-30
CVE-2026-35505 OFFIS DCMTK Toolkit Missing Release of Memory after Effective Lifetime — DCMTK Toolkit 7.5 High 2026-06-30
CVE-2026-13474 Denial of service via malformed HTTP/2 requests — ADC - - 2026-06-30
CVE-2026-56018 JavaScript::Minifier::XS versions before 0.16 for Perl leak memory on every call to minify(), allowing unbounded memory growth — JavaScript::Minifier::XS - - 2026-06-29

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