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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

240 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-82458 Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: Container element count not bounded by the bytes available — Apache Thrift 8.7 High 2026-10-02
CVE-2026-94633 Apache Thrift: Dart `TBinaryProtocol.readMessageBegin` allocates from the pre-versioned name length — Apache Thrift 8.7 High 2026-10-02
CVE-2026-102731 Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode — Apache Directory LDAP API - - 2026-10-02
CVE-2026-103603 Unbounded HSS public key level count allows huge array allocation during signature verification — bc-csharp 8.7 High 2026-10-02
CVE-2026-63574 Unbounded allocation from OpenPGP signature and user attribute subpacket lengths — bc-csharp 8.7 High 2026-10-02
CVE-2026-63566 DTLS handshake reassembler allocates buffer from unchecked 24-bit length — bc-csharp 8.7 High 2026-10-02
CVE-2026-42528 Apache HTTP Server: mod_dav shared lock overflow — Apache HTTP Server - - 2026-10-01
CVE-2026-102504 Imager versions before 1.037 for Perl exit the process reading a raw image with an out-of-range raw_datachannels value in i_readraw_wiol - - 2026-10-01
CVE-2026-102510 Apache PLC4X: Go binding: unbounded allocation and framing failures on wire-controlled lengths — Apache PLC4X 8.7 High 2026-09-30
CVE-2026-102509 Apache PLC4X, Apache PLC4X: Pre-authentication resource exhaustion in the OPC UA driver and the Java SPI parser — Apache PLC4X 8.7 High 2026-09-30
CVE-2026-102809 PX4 Autopilot through 1.17.0 Stack Exhaustion via tests file2 Command — PX4-Autopilot 6.5 Medium 2026-09-29
CVE-2026-92550 Apache Qpid Broker-J: Type size/count handling can lead to excessive allocation pre-authentication in the AMQP 0-8/0-9/0-9-1 decoder — Apache Qpid Broker-J - - 2026-09-25
CVE-2026-96260 Mattermost server missing request body size limit on plugin routes allows denial of service by an authenticated user — Mattermost 6.5 Medium 2026-09-22
CVE-2026-77322 SIPGO: DoS via unvalidated WebSocket frame length — sipgo 7.5 High 2026-09-22
CVE-2026-58268 SIPGO: DoS via unvalidated Content-Length in the stream parser — sipgo 7.5 High 2026-09-22
CVE-2026-59991 psd-tools: Uncontrolled memory allocation in psd-tools composite/numpy via crafted PSD geometry — psd-tools 7.5 High 2026-09-22
CVE-2026-94626 vLLM through 0.29.0 Memory Exhaustion via Unvalidated NIXL tp_size — vllm 7.5 High 2026-09-21
CVE-2026-62370 KubeEdge: Unbounded allocation in viaduct packer enables authenticated remote DoS against CloudHub — kubeedge 6.5 Medium 2026-09-21
CVE-2026-77301 adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS) — adm-zip 7.5 High 2026-09-18
CVE-2026-93307 O-RAN-SC SMO OAM VES Collector memory allocation — SMO OAM 4.3 Medium 2026-09-17
CVE-2026-85715 ExifReader: DoS via Crafted HEIC/AVIF iloc Box - Memory Exhaustion — ExifReader 7.5 High 2026-09-17
CVE-2026-20295 Cisco Secure Firewall Management Center and Secure Firewall Threat Defense Software sftunnel Memory Exhaustion Denial of Service Vulnerability — Cisco Secure Firewall Management Center (FMC) 8.6 High 2026-09-16
CVE-2026-77410 RabbitMQ amqp091-go: Resource Exhaustion (OOM) via Unbounded Body Buffer Allocation — amqp091-go 8.9 High 2026-09-16
CVE-2026-55149 Vouch Proxy: Unbounded Multipart Cookie Allocation DoS — vouch-proxy 7.5 High 2026-09-15
CVE-2026-91752 GNU libextractor before 1.15 Stack Overflow via OLE2 — libextractor 7.5 High 2026-09-15
CVE-2026-53716 Envoy Gateway: Wasm HTTP fetch decompresses gzip without output-size limit — gateway 6.5 Medium 2026-09-14
CVE-2026-53717 Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header — gateway 6.5 Medium 2026-09-14
CVE-2026-82435 Apache Storm Worker: Unauthenticated Remote Memory Exhaustion in the Worker Messaging Decoder — Apache Storm Worker - - 2026-09-14
CVE-2026-67211 Apache OpenNLP: OOM DoS via Unbounded Array Allocation in SymSpellModelSerializer — Apache OpenNLP - - 2026-09-11
CVE-2026-89092 Stack overflow in nscd due to unbounded alloca use — glibc 4.2 Medium 2026-09-11

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