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-30873 OpenWrt Project jsonpath: Memory leak when processing strings, labels, and regexp tokens — openwrt 7.5 - 2026-03-19
CVE-2026-0639 liteos_a has a missing release of memory vulnerability — OpenHarmony 3.3 Low 2026-03-16
CVE-2026-20021 Cisco Secure Firewall Adaptive Security Appliance和Cisco Secure Firewall Threat Defense 安全漏洞 — Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 4.3 Medium 2026-03-04
CVE-2026-20015 Cisco Secure Firewall Adaptive Security Appliance和Cisco Secure Firewall Threat Defense 安全漏洞 — Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 5.8 Medium 2026-03-04
CVE-2026-20014 Cisco Secure Firewall Adaptive Security Appliance和Cisco Secure Firewall Threat Defense 安全漏洞 — Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 7.7 High 2026-03-04
CVE-2026-20013 Cisco Secure Firewall Adaptive Security Appliance和Cisco Secure Firewall Threat Defense 安全漏洞 — Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 5.8 Medium 2026-03-04
CVE-2026-20106 Cisco Secure Firewall Adaptive Security Appliance和Cisco Secure Firewall Threat Defense 安全漏洞 — Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 5.3 Medium 2026-03-04
CVE-2026-20105 Cisco Secure Firewall Adaptive Security Appliance和Cisco Secure Firewall Threat Defense 安全漏洞 — Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 7.7 High 2026-03-04
CVE-2026-25988 ImageMagick's MSL image stack index not refreshed, leading to leaked images. — ImageMagick 5.3 Medium 2026-02-24
CVE-2026-25969 ImageMagick has Memory Leak in coders/ashlar.c — ImageMagick 5.3 Medium 2026-02-24
CVE-2026-25796 ImageMagick has memory leak of watermark Image object in ReadSTEGANOImage on multiple error/early-return paths — ImageMagick 5.3 Medium 2026-02-24
CVE-2026-25638 ImageMagick has memory leak in msl encoder — ImageMagick 5.3 Medium 2026-02-24
CVE-2026-25637 ImageMagick: Possible memory leak in ASHLAR encoder — ImageMagick 5.3 Medium 2026-02-24
CVE-2026-21438 webtransport-go affected by a Memory Exhaustion Attack due to Missing Cleanup of Streams Map — webtransport-go 5.3 Medium 2026-02-12
CVE-2025-15572 wasm3 NewCodePage memory leak — wasm3 3.3 Low 2026-02-10
CVE-2025-47397 Improper Release of Memory Before Removing Last Reference in Graphics — Snapdragon 7.8 High 2026-02-02
CVE-2026-1757 Libxml2: memory leak leading to local denial of service in xmllint interactive shell — Red Hat Hardened Images 6.2 Medium 2026-02-02
CVE-2026-24828 Memory leak in is-Engine — is-Engine 7.5 High 2026-01-27
CVE-2026-24825 a memory leak in ydb-platform/ydb with use of yajl_tree_parse function from src/yail module, which will cause out-of-memory in server and cause crash. — ydb 7.1AI High AI 2026-01-27
CVE-2025-14027 Rockwell Automation Recommends Upgrading From 1756-RM2 XT To 1756-RM3 XT — ControlLogix® Redundancy Enhanced Module 7.5AI High AI 2026-01-20
CVE-2026-21909 Junos OS and Junos OS Evolved: Receipt of specific IS-IS update packet causes memory leak leading to RPD crash — Junos OS 6.5 Medium 2026-01-15
CVE-2026-22025 CryptoLib Memory Leak on HTTP Error Response in KMC Client — CryptoLib - - 2026-01-10
CVE-2026-22024 CryptoLib Memory Leak in KMC Encrypt Function Leads to Resource Exhaustion — CryptoLib 7.5 - 2026-01-10
CVE-2026-21674 iccDEV has a Memory Leak in its CIccProfileXml::ParseTag() Error Path — iccDEV 3.3 Low 2026-01-06
CVE-2025-66033 Improper Memory Cleanup in the Okta Java SDK — okta-sdk-java 5.3 Medium 2025-12-10
CVE-2025-64329 containerd CRI server: Host memory exhaustion through Attach goroutine leak — containerd 7.7 - 2025-11-07
CVE-2025-46784 Entrouvert Lasso 安全漏洞 — Lasso 7.5 High 2025-11-05
CVE-2025-61974 BIG-IP SSL/TLS vulnerability — BIG-IP 7.5 High 2025-10-15
CVE-2025-54805 TMM Vulnerability — BIG-IP Next SPK 6.5 Medium 2025-10-15
CVE-2025-47150 F5OS SNMP vulnerability — F5OS - Appliance 6.5 Medium 2025-10-15

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