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-21289 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1507 7.5 High2025-01-14
CVE-2025-21270 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1507 7.5 High2025-01-14
CVE-2025-21251 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1507 7.5 High2025-01-14
CVE-2024-47239 Dell PowerScale OneFS 资源管理错误漏洞 — PowerScale OneFS 6.5 Medium2025-01-08
CVE-2024-55605 Suricata allows stack overflow in transforms — suricata 7.5 High2025-01-06
CVE-2025-21614 go-git clients vulnerable to DoS via maliciously crafted Git server replies — go-git 7.5 High2025-01-06
CVE-2024-53647 Trend Micro ID Security 安全漏洞 — Trend Micro ID Security 6.5 Medium2024-12-31
CVE-2024-56200 Uncontrolled Recursion and Asymmetric Resource Consumption in Altair media/file proxy — altair 8.6 High2024-12-19
CVE-2022-27600 QTS, QuTS hero, QuTScloud — QTS 6.8 Medium2024-12-19
CVE-2024-12698 Ose-olm-catalogd-container: incomplete fix for rapid reset (cve-2023-39325/cve-2023-44487) 6.5 Medium2024-12-18
CVE-2024-54677 Apache Tomcat: DoS in examples web application — Apache Tomcat 7.5 -2024-12-17
CVE-2024-12601 Calculated Fields Form <= 5.2.63 - Denial of Service — Calculated Fields Form 5.3 Medium2024-12-17
CVE-2024-11835 Denial of Service — PlexTrac 7.5 -2024-12-13
CVE-2024-12579 Minify HTML <= 2.1.10 - - Regular Expressions Denial of Service — Minify HTML 5.3 Medium2024-12-13
CVE-2024-54113 Huawei HarmonyOS 安全漏洞 — HarmonyOS 6.5 Medium2024-12-12
CVE-2024-49075 Windows Remote Desktop Services Denial of Service Vulnerability — Windows 10 Version 1809 7.5 High2024-12-10
CVE-2024-49129 Windows Remote Desktop Gateway (RD Gateway) Denial of Service Vulnerability — Windows Server 2019 7.5 High2024-12-10
CVE-2024-49096 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1809 7.5 High2024-12-10
CVE-2024-42426 Dell PowerScale OneFS 资源管理错误漏洞 — PowerScale OneFS 4.3 Medium2024-12-09
CVE-2024-12254 Unbounded memory buffering in SelectorSocketTransport.writelines() — CPython 7.5 -2024-12-06
CVE-2024-11498 Resource exhaustion via Stack overflow in libjxl — libjxl 6.5 -2024-11-25
CVE-2024-52804 Tornado has HTTP cookie parsing DoS vulnerability — tornado 7.5 High2024-11-22
CVE-2024-45420 Zoom Apps - Uncontrolled Resource Consumption — Zoom Workplace Apps, SDKs, Rooms Clients, and Rooms Controllers 4.3 Medium2024-11-19
CVE-2023-39180 Kernel: ksmbd: read request memory leak denial-of-service vulnerability 4.0 Medium2024-11-18
CVE-2024-52520 Nextcloud Server's link reference provider can be tricked into downloading bigger files than intended — security-advisories 5.7 Medium2024-11-15
CVE-2023-20125 Cisco BroadWorks Network Server TCP Denial of Service Vulnerability — Cisco BroadWorks 8.6 High2024-11-15
CVE-2024-48989 Bosch Rexroth IndraDrive 安全漏洞 — IndraDrive FWA-INDRV*-MP* 7.5 High2024-11-13
CVE-2024-9409 Schneider Electric多款产品 资源管理错误漏洞 — PowerLogic PM5320 7.5 High2024-11-13
CVE-2024-47535 Denial of Service attack on windows app using Netty — netty 5.5 Medium2024-11-12
CVE-2024-46891 Siemens SINEC INS 资源管理错误漏洞 — SINEC INS 5.3 Medium2024-11-12

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