目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-401 在移除最后引用时对内存的释放不恰当(内存泄露) 类漏洞列表 349

CWE-401 在移除最后引用时对内存的释放不恰当(内存泄露) 类弱点 349 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-401属于内存管理漏洞,指程序在内存使用完毕后未正确释放,导致资源无法回收。攻击者通常利用此缺陷通过反复分配内存耗尽系统资源,引发拒绝服务或导致程序崩溃。开发者应避免此类问题,需确保在内存生命周期结束时调用释放函数,并采用智能指针或自动内存管理工具,严格跟踪内存分配与释放状态,防止内存泄漏。

MITRE CWE 官方描述
CWE:CWE-401 Missing Release of Memory after Effective Lifetime 英文:The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
常见影响 (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
缓解措施 (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
代码示例 (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 标题 CVSS 风险等级 Published
CVE-2026-116159 ImageMagick 7.1.2-33 前版本 -cdl 选项内存泄漏漏洞 — ImageMagick 3.3 Low 2026-10-25
CVE-2026-116157 ImageMagick 7.1.2-33 PerlMagick 属性读取内存泄漏 — ImageMagick 3.3 Low 2026-10-25
CVE-2026-116158 ImageMagick 7.1.2-33 前版本内存泄漏漏洞 — ImageMagick 2.5 Low 2026-10-25
CVE-2026-116156 ImageMagick 内存泄漏漏洞(-set profile 选项) — ImageMagick 3.3 Low 2026-10-25
CVE-2026-116155 ImageMagick 6.9.13-58/7.1.2-33 XMP 内存泄漏漏洞 — ImageMagick 5.3 Medium 2026-10-25
CVE-2026-116154 ImageMagick 6.9.13-58 及 7.1.2-33 XML 解析内存泄漏漏洞 — ImageMagick 5.3 Medium 2026-10-25
CVE-2026-116151 ImageMagick JNG 编码器内存泄漏漏洞 — ImageMagick 3.7 Low 2026-10-25
CVE-2026-116152 ImageMagick 7.1.2-33 之前 MAT 解码器内存泄漏漏洞 — ImageMagick 5.3 Medium 2026-10-25
CVE-2026-116150 ImageMagick 7.1.2-33 FPX 编码器内存泄漏漏洞 — ImageMagick 3.1 Low 2026-10-25
CVE-2026-116146 ImageMagick 7.1.2-33 之前版本 MSL 解码器内存泄漏漏洞 — ImageMagick 3.7 Low 2026-10-25
CVE-2026-114613 MessagePack C 扩展严格键验证失败内存泄漏漏洞 — msgpack-python 7.5 High 2026-10-22
CVE-2026-76489 思科 Snort 3 通用文件处理拒绝服务漏洞 — Cisco Open Source Snort3 5.8 Medium 2026-10-21
CVE-2026-77684 蓝牙经典 HFP:TX 缓冲区泄漏致永久拒绝服务漏洞 — zephyr 5.7 Medium 2026-10-19
CVE-2026-110685 Cpanel::JSON::XS 4.80 前信息泄露漏洞 - - 2026-10-19
CVE-2026-110684 Cpanel::JSON::XS 4.80 前内存泄漏及对象保留漏洞 - - 2026-10-19
CVE-2026-110677 Perl Cpanel::JSON::XS 4.28-4.80 信息泄露漏洞 - - 2026-10-19
CVE-2026-110672 Cpanel::JSON::XS 4.80 之前版本信息泄露漏洞 - - 2026-10-19
CVE-2026-110754 Text::CSV_XS 1.65 前敏感信息泄露漏洞 - - 2026-10-16
CVE-2026-102053 Junos OS及Evolved EVPN-VXLAN内存泄漏致拒绝服务漏洞 — Junos OS 5.3 Medium 2026-10-14
CVE-2026-102051 Junos OS/OS Evolved LLDP快速接收内存耗尽漏洞 — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102032 Junos OS 存在静态MAC/IP配置下内存分配不当导致拒绝服务漏洞 — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102081 Junos OS MX/SRX系列应用服务会话频繁导致内存泄漏 — Junos OS 7.5 High 2026-10-14
CVE-2026-101025 NGINX ngx_http_js_module 漏洞 — NGINX JavaScript 5.3 Medium 2026-10-14
CVE-2026-83677 Windows DHCP客户端拒绝服务漏洞 — Windows 11 Version 24H2 7.5 High 2026-10-13
CVE-2026-70155 Windows DNS拒绝服务漏洞 — Windows 10 Version 1607 7.5 High 2026-10-13
CVE-2026-70033 Windows远程桌面网关拒绝服务漏洞 — Windows 10 Version 1607 7.5 High 2026-10-13
CVE-2026-109278 ImageMagick 内存泄漏漏洞(Wavelet-Denoise操作) — ImageMagick 3.7 Low 2026-10-12
CVE-2026-109270 ImageMagick < 7.1.2-32 通过-process选项内存泄漏漏洞 — ImageMagick 3.3 Low 2026-10-12
CVE-2026-109263 ImageMagick 内存泄漏漏洞 — ImageMagick 3.7 Low 2026-10-12
CVE-2026-109262 ImageMagick < 6.9.13-57 / < 7.1.2-32 SVG编码内存泄漏漏洞 — ImageMagick 5.3 Medium 2026-10-12

CWE-401(在移除最后引用时对内存的释放不恰当(内存泄露)) 是常见的弱点类别,本平台收录该类弱点关联的 349 条 CVE 漏洞。