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-109261 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in GIF Encoder — ImageMagick 3.7 Low 2026-10-12
CVE-2026-109260 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in PNG Encoder — ImageMagick 3.7 Low 2026-10-12
CVE-2026-19740 Bluetooth LE Controller: retained RX node leak and reachable assertion in the PHY Update procedure — zephyr 6.5 Medium 2026-10-11
CVE-2026-19739 Bluetooth LE controller leaks a retained RX node when an unexpected LL Control PDU arrives during a Connection Update — zephyr 6.5 Medium 2026-10-11
CVE-2026-19738 Retained RX node leak and reachable assertion in Bluetooth Controller CIS Create procedures — zephyr 6.5 Medium 2026-10-11
CVE-2026-108748 Quarkus LangChain4j 1.9.0 through 1.14.1 Memory Exhaustion via /_chat/routes WebSocket — quarkus-langchain4j 5.3 Medium 2026-10-11
CVE-2026-104874 Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction — multidict 5.3 Medium 2026-10-02
CVE-2026-94652 Apache Thrift: C++ `TEvhttpServer` leaks its `RequestContext` when the processor throws before calling back — Apache Thrift 6.3 Medium 2026-10-02
CVE-2026-93926 Apache Thrift: C++ `THeaderTransport::untransform()` leaks the zlib stream on the error path — Apache Thrift 8.7 High 2026-10-02
CVE-2026-47566 NVIDIA Linux驱动内核内存耗尽致拒绝服务漏洞 — GeForce 5.5 Medium 2026-09-30
CVE-2026-102716 CVE-2026-102716 — eclipse-threadx/netxduo 8.7 High 2026-09-29
CVE-2026-102762 NetX Duo MQTT恶意消息致接收池耗尽拒绝服务 — NetX Duo 8.2 High 2026-09-29
CVE-2026-95395 Missing Release of Memory after Effective Lifetime in Wireshark — Wireshark 5.5 Medium 2026-09-29
CVE-2026-102006 VxWorks 7 Memory allocation — VxWorks 7 5.5 Medium 2026-09-28
CVE-2026-102005 VxWorks Memory Allocation — VxWorks 7 5.5 Medium 2026-09-28
CVE-2026-87078 Net::IDN::Punycode versions from 2.302 before 2.590 for Perl leak the output buffer on every rejected label in decode_punycode - - 2026-09-22
CVE-2026-94627 vLLM through 0.29.0 GPU KV Cache Leak via Mooncake Transfer ID Collision — vllm 7.5 High 2026-09-21
CVE-2026-73550 Envoy: HTTP/2 Discarded Host Header 200 GB Header-Copy OOM in Envoy — envoy 7.5 High 2026-09-21
CVE-2026-63446 Suricata app-layer: passed flows can retain transactions, causing resource exhaustion — suricata 7.5 High 2026-09-18
CVE-2026-93436 vLLM through 0.29.0 Memory Exhaustion via Rejected Requests — vllm 7.5 High 2026-09-17
CVE-2026-92230 Apache Karaf: Improper release of ClassLoader references via static ThreadLocal caching — Apache Karaf - - 2026-09-17
CVE-2026-20222 Cisco Secure Adaptive Security Appliance Software and Secure Firewall Threat Defense Software EIGRP Denial of Service Vulnerability — Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 7.4 High 2026-09-16
CVE-2026-18212 Keycloak-services: keycloak-services: saml redirect deflate helpers leak native zlib state — Red Hat build of Keycloak 26.4 7.5 High 2026-09-16
CVE-2026-81563 SVCB AliasMode additional-data error leaks qpcache references — BIND 9 7.5 High 2026-09-16
CVE-2026-91926 Gss-ntlmssp: gss-ntlmssp: memory leak in ntlm_decode_target_info via duplicated av_pair entries in ntlm challenge — Red Hat Enterprise Linux 8 3.7 Low 2026-09-15
CVE-2026-90784 Dvidelabs flatcc semantics.c fb_clear_parser memory leak — flatcc 5.3 Medium 2026-09-14
CVE-2026-15892 Heap memory leak in mcumgr settings-management handlers on access-hook rejection leads to denial of service — zephyr 5.3 Medium 2026-09-13
CVE-2026-87776 compression vulnerable to Denial of Service via memory leak on premature response close — compression 7.5 High 2026-09-11
CVE-2026-78131 strongSwan 资源管理错误漏洞 — strongSwan 3.7 Low 2026-09-11
CVE-2026-78127 strongSwan 资源管理错误漏洞 — strongSwan 3.7 Low 2026-09-11

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