Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-789 (未经控制的内存分配) — Vulnerability Class 241

241 vulnerabilities classified as CWE-789 (未经控制的内存分配). AI Chinese analysis included.

CWE-789 represents a critical memory management weakness where software allocates resources based on unvalidated, excessively large size values provided by external inputs. This flaw typically arises when developers fail to enforce upper bounds on integer parameters before invoking allocation functions, allowing attackers to supply maliciously crafted values that trigger massive memory consumption. Exploitation often leads to denial-of-service conditions through system exhaustion or resource starvation, potentially destabilizing the entire host environment. To mitigate this risk, developers must implement rigorous input validation strategies that strictly check size parameters against predefined, safe thresholds before any allocation occurs. Additionally, utilizing language-specific bounds checking mechanisms and static analysis tools can help identify potential overflows early in the development lifecycle, ensuring that memory requests remain within acceptable operational limits and preventing arbitrary resource depletion.

MITRE CWE Description
The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
Common Consequences (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.
Mitigations (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.
Examples (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 Title CVSS Severity Published
CVE-2026-89092 Stack overflow in nscd due to unbounded alloca use — glibc 4.2 Medium 2026-09-11
CVE-2026-88045 rclone: S3 multipart declared-length memory exhaustion — rclone 7.5 High 2026-09-10
CVE-2026-83530 Uncontrolled Memory Allocation in cel-go — cel-go 6.9 Medium 2026-09-09
CVE-2026-86776 KeePass 2.35 through 2.61.1 Memory Exhaustion via KDBX Header Field Size — KeePass 3.3 Low 2026-09-09
CVE-2026-85201 Eclipse Ankaios 输入验证错误漏洞 — Eclipse Ankaios 6.8 Medium 2026-09-07
CVE-2026-85445 MOOS-IvP through 24.8.1 BHV_IPF Demultiplexer Memory Exhaustion via Packet Count — moos-ivp 7.5 High 2026-09-03
CVE-2026-85442 MOOS core-moos through 10.4.0 MOOSDB Denial of Service via Unbounded Packet Allocation — core-moos 7.5 High 2026-09-03
CVE-2026-84888 RightNow-AI OpenFang tool_runner.rs shell_exec memory allocation — OpenFang 4.3 Medium 2026-09-02
CVE-2026-84857 sigoden aichat API Endpoint serve.rs memory allocation — aichat 5.3 Medium 2026-09-02
CVE-2026-84289 NousResearch hermes-agent MCP Tool mcp_tool.py list_tools memory allocation — hermes-agent 4.3 Medium 2026-09-01
CVE-2026-81693 openssl_encrypt before 1.4.9 Denial of Service via QR total field — openssl_encrypt 7.5 High 2026-08-27
CVE-2026-81692 openssl_encrypt before 1.4.9 Denial of Service via STREAMINFO — openssl_encrypt 7.5 High 2026-08-27
CVE-2026-44253 Wazuh: Cluster Protocol Memory Exhaustion (DoS) via unbounded receive_str allocation and div_msg_box accumulation — wazuh 4.9 Medium 2026-08-19
CVE-2026-75935 Memory-amplification denial of service via declared-length preallocation in Amazon ion-java — Amazon Ion Java 7.5 High 2026-08-18
CVE-2026-69219 RabbitMQ Java client ValueReader: Oversized LongString/bytes length triggers OOM via unchecked allocation — rabbitmq-java-client 8.7 High 2026-08-18
CVE-2026-72639 Memory Allocation with Excessive Size Value in Elasticsearch Highlighting Leading to Denial of Service — Elasticsearch 6.5 Medium 2026-08-13
CVE-2026-72645 Memory Allocation with Excessive Size Value in Elasticsearch Leading to Denial of Service — Elasticsearch 6.5 Medium 2026-08-13
CVE-2026-72656 Memory Allocation with Excessive Size Value in Elasticsearch Leading to Denial of Service — Elasticsearch 6.5 Medium 2026-08-13
CVE-2026-72678 Memory Allocation with Excessive Size Value in Elasticsearch Leading to Denial of Service — Elasticsearch 6.5 Medium 2026-08-13
CVE-2026-72687 Memory Allocation with Excessive Size Value in Elasticsearch Leading to Denial of Service — Elasticsearch 6.5 Medium 2026-08-13
CVE-2026-71218 Iperf3: unbounded peer-controlled allocation in iperf3 json_read() allows unauthenticated remote memory exhaustion — Red Hat Enterprise Linux 10 5.3 Medium 2026-08-11
CVE-2026-66485 Uncontrolled Memory Allocation in GNU cpio — cpio 4.6 Medium 2026-08-10
CVE-2026-44630 Apache IoTDB: RPC service denial of service via unchecked Thrift string length — Apache IoTDB - - 2026-08-10
CVE-2026-66733 Sonic 3 A.I.R. Unbounded Memory Allocation DoS via ReceivedPacketCache — sonic3air 7.5 High 2026-08-06
CVE-2026-70377 imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service — imagecli 7.5 High 2026-08-05
CVE-2026-67589 Apache Qpid ProtonJ2: Type size/count handling can lead to excessive allocation pre-authentication — Apache Qpid ProtonJ2 - - 2026-08-05
CVE-2026-67551 Apache Qpid Proton Dotnet: Type size/count handling can lead to excessive allocation pre-authentication — Apache Qpid Proton Dotnet - - 2026-08-05
CVE-2026-66273 Apache Qpid Proton-J: Type size/count handling can lead to excessive allocation pre-authentication — Apache Qpid Proton-J - - 2026-08-05
CVE-2026-69702 SnailJob 1.7.0 Denial of Service via FuryUtil.deserialize OOM — SnailJob (snail-job) 6.5 Medium 2026-08-04
CVE-2026-58067 Veeam Service Provider Console 资源管理错误漏洞 — Service Provider Console 8.7 High 2026-08-04

Vulnerabilities classified as CWE-789 (未经控制的内存分配) represent 241 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.