99 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.
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);unsigned int size = GetUntrustedInt(); HashMap list = new HashMap(size);| CVE ID | Title | CVSS | Severity | Published |
|---|---|---|---|---|
| CVE-2021-27906 | A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file — Apache PDFBox | 5.5 | - | 2021-03-19 |
| CVE-2021-1283 | Cisco Data Center Network Manager Information Disclosure Vulnerability — Cisco Data Center Network Manager | 5.5 | Medium | 2021-01-20 |
| CVE-2020-3596 | Cisco Expressway Series and TelePresence Video Communication Server Denial of Service Vulnerability — Cisco TelePresence Video Communication Server (VCS) Expressway | 5.9 | Medium | 2020-10-08 |
| CVE-2020-5303 | Denial of service in Tendermint — Tendermint | 3.1 | Low | 2020-04-10 |
| CVE-2020-8552 | Kubernetes API server denial of service — Kubernetes | 5.3 | Medium | 2020-03-27 |
| CVE-2020-8551 | Kubernetes kubelet denial of service — Kubernetes | 4.3 | Medium | 2020-03-27 |
| CVE-2018-12541 | Eclipse Vert.x 安全漏洞 — Eclipse Vert.x | 6.5 | - | 2018-10-10 |
| CVE-2017-7652 | Eclipse Mosquitto 安全漏洞 — Eclipse Mosquitto | 6.8 | - | 2018-04-25 |
| CVE-2017-7651 | Eclipse Mosquitto 安全漏洞 — Eclipse Mosquitto | 7.5 | - | 2018-04-24 |
Vulnerabilities classified as CWE-789 (未经控制的内存分配) represent 99 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.