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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-400 (未加控制的资源消耗(资源穷尽)) — Vulnerability Class 1397

1397 vulnerabilities classified as CWE-400 (未加控制的资源消耗(资源穷尽)). AI Chinese analysis included.

CWE-400 represents a critical resource management weakness where software fails to properly control the allocation and maintenance of finite system resources, such as memory, CPU cycles, or file descriptors. Attackers typically exploit this vulnerability by triggering actions that consume excessive resources, leading to denial-of-service conditions that degrade performance or crash the application entirely. This often occurs through crafted inputs that force infinite loops, excessive data processing, or unbounded memory allocation. To mitigate this risk, developers must implement strict resource limits, including timeouts, maximum iteration counts, and memory caps. Additionally, employing robust input validation and monitoring tools helps detect abnormal consumption patterns early. By enforcing these controls, engineers ensure that applications remain resilient against resource exhaustion attacks, maintaining availability and stability even under malicious stress or unexpected load spikes.

MITRE CWE Description
The product does not properly control the allocation and maintenance of a limited resource.
Common Consequences (2)
AvailabilityDoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
If an attacker can trigger the allocation of the limited resources, but the number or size of the resources is not controlled, then the most common result is denial of service. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding envir…
Access Control, OtherBypass Protection Mechanism, Other
In some cases it may be possible to force the product to "fail open" in the event of resource exhaustion. The state of the product -- and possibly the security functionality - may then be compromised.
Mitigations (4)
Architecture and DesignDesign throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perha…
Architecture and DesignMitigation of resource exhaustion attacks requires that the target system either: recognizes the attack and denies that user further access for a given amount of time, or uniformly throttles all requests in order to make it more difficult to consume resources more quickly than they can again be freed. The first of these solutions is an issue in itself though, since it may allow attackers to preven…
Architecture and DesignEnsure that protocols have specific limits of scale placed on them.
ImplementationEnsure that all failures in resource allocation place the system into a safe posture.
Examples (2)
The following example demonstrates the weakness.
class Worker implements Executor { ... public void execute(Runnable r) { try { ... } catch (InterruptedException ie) { // postpone response Thread.currentThread().interrupt(); } } public Worker(Channel ch, int nworkers) { ... } protected void activate() { Runnable loop = new Runnable() { public void run() { try { for (;;) { Runnable r = ...; r.run(); } } catch (InterruptedException ie) { ... } } }; new Thread(loop).start(); } }
Bad · Java
This code allocates a socket and forks each time it receives a new connection.
sock=socket(AF_INET, SOCK_STREAM, 0); while (1) { newsock=accept(sock, ...); printf("A connection has been accepted\n"); pid = fork(); }
Bad · C
CVE IDTitleCVSSSeverityPublished
CVE-2025-41360 Uncontrolled resource consumption vulnerability in IDF and ZLF — IDF and ZLF 7.5AIHighAI2025-06-06
CVE-2025-49000 InvenTree has uncontrolled memory allocation via built-in label-sheet plugin — InvenTree 3.5 Low2025-06-03
CVE-2025-5024 Gnome-remote-desktop: uncontrolled resource consumption due to malformed rdp pdus — Red Hat Enterprise Linux 10 7.4 High2025-05-22
CVE-2025-5031 Ackites KillWxapkg wxapkg File Decompression resource consumption — KillWxapkg 3.1 Low2025-05-21
CVE-2025-41227 Denial-of-Service Vulnerability — ESXi 5.5 Medium2025-05-20
CVE-2025-41226 Guest Operations Denial-of-Service Vulnerability — ESXi 6.8 Medium2025-05-20
CVE-2025-26481 Dell PowerScale OneFS 资源管理错误漏洞 — PowerScale OneFS 7.5 High2025-05-15
CVE-2025-30476 Dell PowerScale InsightIQ 资源管理错误漏洞 — PowerScale InsightIQ 5.3 Medium2025-05-15
CVE-2025-29957 Windows Deployment Services Denial of Service Vulnerability — Windows 10 Version 1507 6.2 Medium2025-05-13
CVE-2025-29954 Windows Lightweight Directory Access Protocol (LDAP) Denial of Service Vulnerability — Windows 10 Version 1507 5.9 Medium2025-05-13
CVE-2025-26677 Windows Remote Desktop Gateway (RD Gateway) Denial of Service Vulnerability — Windows Server 2016 7.5 High2025-05-13
CVE-2025-47270 nimiq-network-libp2p Uncontrolled Resource Consumption vulnerability — core-rs-albatross 7.5 High2025-05-12
CVE-2025-4533 JeecgBoot Document Library Upload zip unzipFile resource consumption — JeecgBoot 2.7 Low2025-05-11
CVE-2025-46392 Apache Commons Configuration: Uncontrolled Resource Consumption when loading untrusted configurations in 1.x — Apache Commons Configuration 7.5AIHighAI2025-05-09
CVE-2025-1948 Eclipse Jetty HTTP clients can increase memory allocation — Jetty 7.5 High2025-05-08
CVE-2025-46727 Unbounded-Parameter DoS in Rack::QueryParser — rack 7.5 High2025-05-07
CVE-2025-20162 Cisco IOS XE 资源管理错误漏洞 — Cisco IOS XE Software 8.6 High2025-05-07
CVE-2025-46593 Huawei HarmonyOS 安全漏洞 — HarmonyOS 5.1 Medium2025-05-06
CVE-2025-46728 cpp-httplib has Unbounded Memory Allocation in Chunked/No-Length Requests — cpp-httplib 7.5 High2025-05-06
CVE-2025-23246 NVIDIA vGPU 资源管理错误漏洞 — vGPU Software, Cloud Gaming 5.5 Medium2025-05-01
CVE-2024-52979 Elasticsearch Uncontrolled Resource Consumption vulnerability — Elasticsearch 6.5 Medium2025-05-01
CVE-2025-43857 net-imap rubygem vulnerable to possible DoS by memory exhaustion — net-imap 7.5AIHighAI2025-04-28
CVE-2025-32472 DoS attack by conducting a slowloris-type attack — SICK multiScan1XX 5.3 Medium2025-04-28
CVE-2025-46580 ZTE GoldenDB Database product has a code-related vulnerability — GoldenDB 7.7 High2025-04-27
CVE-2025-31118 NamelessMC Has Forum Reply Submission Time Limit Bypass — Nameless 7.1 High2025-04-18
CVE-2025-30158 NamelessMC Forum iframe width/height abuse causing UI-based Denial of Service — Nameless 7.1 High2025-04-18
CVE-2025-27081 HPE NonStop OSM Service Connection Suite, Denial of Service vulnerability — HPE NonStop OSM Service Connection Suite 6.8 Medium2025-04-10
CVE-2025-27486 Windows Standards-Based Storage Management Service Denial of Service Vulnerability — Windows Server 2012 R2 7.5 High2025-04-08
CVE-2025-27485 Windows Standards-Based Storage Management Service Denial of Service Vulnerability — Windows Server 2012 R2 7.5 High2025-04-08
CVE-2025-27469 Windows Lightweight Directory Access Protocol (LDAP) Denial of Service Vulnerability — Windows 10 Version 1507 7.5 High2025-04-08

Vulnerabilities classified as CWE-400 (未加控制的资源消耗(资源穷尽)) represent 1397 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.