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-10142 kafka-python prior to 2.3.2 Denial of Service via Protocol Parser Frame Length — kafka-python 7.5 High 2026-06-10
CVE-2026-52759 Ghidra < 12.1.1 - Denial of Service via Uncontrolled Memory Allocation in Mach-O Parser — Ghidra 5.5 Medium 2026-06-10
CVE-2026-52753 Ghidra < 12.0.3 - Out-of-Memory in Rust Symbol Demangler via Malformed Symbol — ghidra 5.5 Medium 2026-06-10
CVE-2026-49975 Apache HTTP Server: mod_http2 denial of service — Apache HTTP Server - - 2026-06-08
CVE-2026-41178 OpenTelemetry-Go's baggage parsing no longer caps raw header length — go.opentelemetry.io/otel/baggage 5.3 Medium 2026-06-04
CVE-2026-47319 SAMSUNG rLottie 安全漏洞 — rlottie 6.1 Medium 2026-06-04
CVE-2026-9538 Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header — Archive::Tar - - 2026-05-26
CVE-2018-25378 Notebook Pro 2.0 Denial of Service via Notebook Name Field — Notebook Pro 6.2 Medium 2026-05-25
CVE-2018-25368 Nord VPN 6.14.31 Denial of Service via Password Field — NordVPN 7.5 High 2026-05-25
CVE-2026-5740 Unauthenticated WebSocket binary frame causes denial of service in Mattermost Server — Mattermost 7.5 High 2026-05-22
CVE-2026-8485 Uncontrolled Memory Allocation vulnerability in Progress Software MOVEit Automation — MOVEit Automation 5.9 Medium 2026-05-20
CVE-2026-47313 SAMSUNG Escargot 安全漏洞 — Escargot 5.5 Medium 2026-05-19
CVE-2026-6340 Memory Exhaustion via Malicious 7zip File Upload — Mattermost 4.3 Medium 2026-05-18
CVE-2021-47973 Sticky Notes Widget 3.0.6 Denial of Service via Buffer Overflow — Sticky Notes Widget 7.5 High 2026-05-16
CVE-2021-47972 Sticky Notes & Color Widgets 1.4.2 Denial of Service — Sticky Notes Color Widgets 7.5 High 2026-05-16
CVE-2021-47971 My Notes Safe 5.3 Denial of Service via Buffer Overflow — My Notes Safe 7.5 High 2026-05-16
CVE-2021-47970 Macaron Notes 5.5 Denial of Service via Buffer Overflow — Macaron Notes 7.5 High 2026-05-16
CVE-2021-47969 Color Notes 1.4 Denial of Service via Long Character String — Color Notes 7.5 High 2026-05-16
CVE-2026-44375 Nerdbank.MessagePack: Attacker-controlled stackalloc in DateTime decoding causes process-terminating StackOverflowException — Nerdbank.MessagePack 7.5 High 2026-05-14
CVE-2026-42946 NGINX ngx_http_scgi_module and ngx_http_uwsgi_module vulnerability — NGINX Plus 6.5 Medium 2026-05-13
CVE-2026-42348 OpAMP client reads unbounded HTTP response bodies — opentelemetry-dotnet-contrib 5.9 Medium 2026-05-12
CVE-2021-47944 memono Notepad 4.2 Denial of Service via Buffer Overflow — Notepad 7.5 High 2026-05-10
CVE-2026-42241 ParquetSharp: Possible Stack Overflow When Reading a ParquetFile with Large Decimal Type Width — ParquetSharp 5.3 Medium 2026-05-07
CVE-2026-43868 Apache Thrift: Rust implementation vulnerable to CVE-2020-13949 pattern — Apache Thrift 9.1 - 2026-05-05
CVE-2026-42146 CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp — CImg 5.5 Medium 2026-05-04
CVE-2026-42440 Apache OpenNLP: OOM DoS via Unbounded Array Allocation in AbstractModelReader — Apache OpenNLP 7.5 - 2026-05-04
CVE-2018-25295 ObserverIP Scan Tool 1.4.0.1 Denial of Service via IP Field — ObserverIP Scan Tool 6.2 Medium 2026-04-26
CVE-2018-25279 jiNa OCR Image to Text 1.0 Denial of Service via PNG — jiNa OCR Image to Text 6.2 Medium 2026-04-26
CVE-2018-25274 InfraRecorder 0.53 Denial of Service via txt File Import — InfraRecorder 6.2 Medium 2026-04-26
CVE-2026-33524 Zserio: Integer Overflow in BitStreamReader and Unbounded Memory Allocation in Deserialization — zserio 7.5 High 2026-04-24

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