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-33524 Zserio: Integer Overflow in BitStreamReader and Unbounded Memory Allocation in Deserialization — zserio 7.5 High 2026-04-24
CVE-2026-40894 OpenTelemetry dotnet: Excessive memory allocation when parsing OpenTelemetry propagation headers — opentelemetry-dotnet 5.3 Medium 2026-04-23
CVE-2026-40891 OpenTelemetry dotnet: Unbounded `grpc-status-details-bin` parsing in OTLP/gRPC retry handling — opentelemetry-dotnet 5.3 Medium 2026-04-23
CVE-2026-40182 OpenTelemetry dotnet: OTLP exporter reads unbounded HTTP response bodies — opentelemetry-dotnet 5.3 Medium 2026-04-23
CVE-2026-41314 pypdf: Manipulated FlateDecode image dimensions can exhaust RAM — pypdf 6.5AI Medium AI 2026-04-22
CVE-2026-41312 pypdf: Manipulated FlateDecode predictor parameters can exhaust RAM — pypdf 6.5AI Medium AI 2026-04-22
CVE-2026-35633 OpenClaw < 2026.3.22 - Unbounded Memory Allocation via Remote Media Error Responses — OpenClaw 5.3 Medium 2026-04-09
CVE-2026-35186 Wasmtime has an improperly masked return value from `table.grow` with Winch compiler backend — wasmtime 9.1AI Critical AI 2026-04-09
CVE-2026-39882 OpenTelemetry-Go OTLP HTTP exporters read unbounded HTTP response bodies — opentelemetry-go 5.3 Medium 2026-04-08
CVE-2026-24146 NVIDIA Triton Inference Server 安全漏洞 — Triton Inference Server 7.5 High 2026-04-07
CVE-2026-39312 Pre-Auth EAP-TLS DoS on SoftEther VPN Developer Edition — SoftEtherVPN 7.5 High 2026-04-07
CVE-2026-35549 MariaDB Server 安全漏洞 — MariaDB 6.5 Medium 2026-04-03
CVE-2026-24158 NVIDIA Triton Inference Server 安全漏洞 — Triton Inference Server 7.5 High 2026-03-24
CVE-2026-33174 Rails Active Storage has a possible DoS vulnerability when in proxy mode via Range requests — activestorage 7.5 - 2026-03-23
CVE-2026-26931 Memory Allocation with Excessive Size Value in Metricbeat Leading to Denial of Service — Metricbeat 5.7 Medium 2026-03-19
CVE-2026-32836 mackron / dr_libs dr_flac.h Excessive Memory Allocation in PICTURE Metadata Parsing — dr_libs dr_flac.h 6.2 Medium 2026-03-17
CVE-2026-25780 Memory Exhaustion via Malformed DOC File Upload — Mattermost 4.3 Medium 2026-03-16
CVE-2026-26246 Memory Exhaustion via Malformed PSD File Upload — Mattermost 4.3 Medium 2026-03-16
CVE-2026-2456 Denial of Service via Unbounded Memory Allocation in Integration Actions — Mattermost 5.3 Medium 2026-03-16
CVE-2026-28253 Memory Allocation with Excessive Size Value vulnerability in Trane Tracer SC, Tracer SC+, and Tracer Concierge — Tracer SC 7.5AI High AI 2026-03-12
CVE-2026-20048 Cisco NX-OS Software SNMP Denial of Service Vulnerability — Cisco NX-OS System Software in ACI Mode 7.7 High 2026-02-25
CVE-2026-25899 Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded Allocation — fiber 7.5 High 2026-02-24
CVE-2025-2668 IBM Db2 Denial of Service — Db2 for Linux, UNIX and Windows 6.5 Medium 2026-01-30
CVE-2025-66199 TLS 1.3 CompressedCertificate excessive memory allocation — OpenSSL 7.5AI High AI 2026-01-27
CVE-2026-22803 SvelteKit has a memory amplification DoS in Remote Functions binary form deserializer — kit 7.5AI High AI 2026-01-15
CVE-2026-22026 CryptoLib Unbounded Memory Allocation in KMC HTTP Response Handler Allows Resource Exhaustion — CryptoLib 7.5 - 2026-01-10
CVE-2025-12983 Memory Allocation with Excessive Size Value in GitLab — GitLab 3.5 Low 2025-11-15
CVE-2025-2534 IBM Db2 denial of service — Db2 5.3 Medium 2025-11-07
CVE-2025-11579 DoS via Out Of Memory Crash — rardecode 5.3 Medium 2025-10-10
CVE-2025-61910 NASA ION-DTN BPv7 4.1.3s Uncontrolled Memory Allocation that leads to Denial-of-Service — ION-DTN 7.5 High 2025-10-07

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