目标达成 感谢每一位支持者 — 我们达成了 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-83745 Apache Thrift WebSocket帧解码缓冲区分配漏洞 — Apache Thrift 8.7 High 2026-10-02
CVE-2026-82458 Apache Thrift 容器元素计数不受字节数限制漏洞 — Apache Thrift 8.7 High 2026-10-02
CVE-2026-94633 Apache Thrift Dart `TBinaryProtocol` 内存分配漏洞 — Apache Thrift 8.7 High 2026-10-02
CVE-2026-102731 Apache Directory LDAP API 拒绝服务漏洞 — Apache Directory LDAP API - - 2026-10-02
CVE-2026-103603 HSS公钥无限制级数导致签名验证时数组分配过大漏洞 — bc-csharp 8.7 High 2026-10-02
CVE-2026-63574 OpenPGP签名及用户属性子包长度未限制分配漏洞 — bc-csharp 8.7 High 2026-10-02
CVE-2026-63566 DTLS握手重组器因未检查24位长度导致缓冲区分配漏洞 — bc-csharp 8.7 High 2026-10-02
CVE-2026-42528 Apache HTTP Server mod_dav共享锁溢出漏洞 — Apache HTTP Server - - 2026-10-01
CVE-2026-102504 Perl Imager 1.037前进程终止漏洞 - - 2026-10-01
CVE-2026-102510 Apache PLC4X Go绑定远程内存耗尽漏洞 — Apache PLC4X 8.7 High 2026-09-30
CVE-2026-102509 Apache PLC4X OPC UA驱动认证前资源耗尽漏洞 — Apache PLC4X 8.7 High 2026-09-30
CVE-2026-102809 PX4 Autopilot 1.17.0 栈溢出漏洞 — PX4-Autopilot 6.5 Medium 2026-09-29
CVE-2026-92550 Apache Qpid Broker-J 预认证类型处理可导致过量分配漏洞 — Apache Qpid Broker-J - - 2026-09-25
CVE-2026-96260 Mattermost 插件路由请求体大小限制缺失致拒绝服务漏洞 — Mattermost 6.5 Medium 2026-09-22
CVE-2026-77322 SIPGO WebSocket未验证帧长度致拒绝服务漏洞 — sipgo 7.5 High 2026-09-22
CVE-2026-58268 SIPGO 流解析器 Content-Length 未校验导致拒绝服务 — sipgo 7.5 High 2026-09-22
CVE-2026-59991 psd-tools 复合numpy内存分配失控 — psd-tools 7.5 High 2026-09-22
CVE-2026-94626 vLLM 0.29.0 NIXL未验证致内存耗尽 — vllm 7.5 High 2026-09-21
CVE-2026-62370 KubeEdge CloudHub viaduct打包器远程拒绝服务漏洞 — kubeedge 6.5 Medium 2026-09-21
CVE-2026-77301 adm-zip 非受控内存分配拒绝服务漏洞 — adm-zip 7.5 High 2026-09-18
CVE-2026-93307 O-RAN-SC SMO OAM VES内存分配漏洞 — SMO OAM 4.3 Medium 2026-09-17
CVE-2026-85715 ExifReader 特制HEIC/AVIF导致的拒绝服务 — ExifReader 7.5 High 2026-09-17
CVE-2026-20295 Cisco防火墙软件内存耗尽拒绝服务漏洞 — Cisco Secure Firewall Management Center (FMC) 8.6 High 2026-09-16
CVE-2026-77410 RabbitMQ 资源耗尽(OOM)漏洞 — amqp091-go 8.9 High 2026-09-16
CVE-2026-55149 Vouch Proxy 无界分块Cookie分配拒绝服务漏洞 — vouch-proxy 7.5 High 2026-09-15
CVE-2026-91752 GNU libextractor 资源管理错误漏洞 — libextractor 7.5 High 2026-09-15
CVE-2026-53716 Envoy Gateway Wasm HTTP Gzip解压无大小限制漏洞 — gateway 6.5 Medium 2026-09-14
CVE-2026-53717 Envoy Gateway 内存耗尽漏洞 — gateway 6.5 Medium 2026-09-14
CVE-2026-82435 Apache Storm Worker 资源管理错误漏洞 — Apache Storm Worker - - 2026-09-14
CVE-2026-67211 Apache OpenNLP 资源管理错误漏洞 — Apache OpenNLP - - 2026-09-11

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