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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-789 未经控制的内存分配 类漏洞列表 241

CWE-789 未经控制的内存分配 类弱点 241 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-789 属于内存分配漏洞,指程序基于不可信的大数值分配内存,却未验证其是否在预期范围内。攻击者通常利用此缺陷提交超大尺寸值,导致系统分配过量内存,进而引发拒绝服务或内存耗尽。开发者应避免此类风险,在分配内存前严格校验输入参数,确保其处于合理且安全的阈值范围内,从而防止资源被恶意滥用。

MITRE CWE 官方描述
CWE:CWE-789 使用过大值进行内存分配(Memory Allocation with Excessive Size Value) 英文:该产品基于不受信任的大尺寸值分配内存,但未确保该尺寸在预期限制范围内,从而导致可以分配任意数量的内存。
常见影响 (1)
Availability DoS: Resource Consumption (Memory)
Not controlling memory allocation can result in a request for too much system memory, possibly leading to a crash of the application due to out-of-memory conditions, or the consumption of a large amount of memory on the system.
缓解措施 (2)
Implementation, Architecture and Design Perform adequate input validation against any value that influences the amount of memory that is allocated. Define an appropriate strategy for handling requests that exceed the limit, and consider supporting a configuration option so that the administrator can extend the amount of memory to be used if necessary.
Operation Run your program using system-provided resource limits for memory. This might still cause the program to crash or exit, but the impact to the rest of the system will be minimized.
代码示例 (2)
Consider the following code, which accepts an untrusted size value and allocates a buffer to contain a string of the given size.
unsigned int size = GetUntrustedInt(); /* ignore integer overflow (CWE-190) for this example */ unsigned int totBytes = size * sizeof(char); char *string = (char *)malloc(totBytes); InitializeString(string);
Bad · C
Consider the following code, which accepts an untrusted size value and uses the size as an initial capacity for a HashMap.
unsigned int size = GetUntrustedInt(); HashMap list = new HashMap(size);
Bad · Java
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-114629 Web::Simple 0.035 前 内存耗尽漏洞 - - 2026-10-24
CVE-2026-115417 aws-c-mqtt MQTT 3.1.1 适配器内存分配漏洞 — aws-c-mqtt 7.5 High 2026-10-22
CVE-2026-115394 Ghidra 12.2 二进制字段内存分配拒绝服务漏洞 — ghidra 5.5 Medium 2026-10-22
CVE-2026-56387 Apache bRPC RTMP AMF 解析器远程内存耗尽漏洞 — Apache bRPC - - 2026-10-21
CVE-2026-113604 Ghidra 10.2-12.1.4 ELF 加载器拒绝服务漏洞 — ghidra 5.5 Medium 2026-10-20
CVE-2026-112399 Pillow 远程代码执行漏洞 — Pillow 8.7 High 2026-10-19
CVE-2026-112283 libbluray 1.5.1 内存分配控制漏洞 — libbluray 5.5 Medium 2026-10-19
CVE-2026-112214 GStreamer 1 无限内存分配漏洞 — Red Hat Enterprise Linux 10 6.5 Medium 2026-10-19
CVE-2026-112048 libspatialite 5.1.0 内存分配漏洞 — libspatialite 6.1 Medium 2026-10-18
CVE-2026-111279 Dragonfly 2.0.2 内存分配漏洞 — dragonfly 7.5 High 2026-10-15
CVE-2026-110258 OW2 ASM 9.11前版本通过多个RET指令过度分配内存漏洞 — ASM 5.5 Medium 2026-10-14
CVE-2026-110257 OW2 ASM 5.0-9.11 引导方法属性内存分配漏洞 — ASM 5.5 Medium 2026-10-14
CVE-2026-85324 Active Directory Federation Services 拒绝服务漏洞 — Windows 10 Version 1607 7.5 High 2026-10-13
CVE-2026-109149 js-beautify 内存分配漏洞 — js-beautify 5.3 Medium 2026-10-13
CVE-2020-37280 cbor-sync 1.0.4 内存耗尽漏洞 — cbor-sync 7.5 High 2026-10-12
CVE-2026-108683 CowAgent Media Download 内存分配漏洞 — CowAgent 4.3 Medium 2026-10-11
CVE-2026-97853 Decimal模块places参数致DoS漏洞 — decimal 6.9 Medium 2026-10-10
CVE-2026-108106 Xerial snappy-java 1.1.10.9 未受限内存分配拒绝服务漏洞 — snappy-java 7.5 High 2026-10-09
CVE-2026-107390 music-metadata MP4解析器因扩展原子长度过大导致内存耗尽漏洞 — music-metadata 6.2 Medium 2026-10-08
CVE-2026-107389 music-metadata EBML解析器内存耗尽漏洞 — music-metadata 6.2 Medium 2026-10-08
CVE-2026-107388 music-metadata ID3v2标签内存耗尽漏洞 — music-metadata 6.2 Medium 2026-10-08
CVE-2026-107387 music-metadata APEv2解析器未受控内存分配漏洞 — music-metadata 6.2 Medium 2026-10-08
CVE-2026-107223 Excelize 列属性未限制致拒绝服务漏洞 — excelize 7.1 High 2026-10-07
CVE-2026-107215 Excelize CFB目录条目远程拒绝服务漏洞 — excelize 7.5 High 2026-10-07
CVE-2026-106453 yawkat LZ4 Java LZ4DecompressorWithLength 分配未验证大小导致OutOfMemoryError漏洞 — lz4-java 5.3 Medium 2026-10-06
CVE-2026-106452 yawkat LZ4 Java 未验证压缩长度漏洞 — lz4-java 5.3 Medium 2026-10-06
CVE-2026-103005 Elasticsearch 内存分配漏洞导致拒绝服务 — Elasticsearch 6.5 Medium 2026-10-06
CVE-2026-106114 ImageSharp ICC CLUT解析未验证通道和网格维度 — ImageSharp 5.3 Medium 2026-10-06
CVE-2026-77050 get_supported_language_variant()拒绝服务漏洞 — Django 5.3 Medium 2026-10-06
CVE-2026-93323 Buildkit 内存耗尽漏洞 — BuildKit 6.8 Medium 2026-10-05

CWE-789(未经控制的内存分配) 是常见的弱点类别,本平台收录该类弱点关联的 241 条 CVE 漏洞。