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-26673 Windows Lightweight Directory Access Protocol (LDAP) Denial of Service Vulnerability — Windows 10 Version 1507 7.5 High2025-04-08
CVE-2025-26652 Windows Standards-Based Storage Management Service Denial of Service Vulnerability — Windows Server 2012 R2 7.5 High2025-04-08
CVE-2025-26641 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1507 7.5 High2025-04-08
CVE-2025-21174 Windows Standards-Based Storage Management Service Denial of Service Vulnerability — Windows Server 2012 R2 7.5 High2025-04-08
CVE-2025-27473 HTTP.sys Denial of Service Vulnerability — Windows 10 Version 1507 7.5 High2025-04-08
CVE-2025-27470 Windows Standards-Based Storage Management Service Denial of Service Vulnerability — Windows Server 2012 R2 7.5 High2025-04-08
CVE-2025-26680 Windows Standards-Based Storage Management Service Denial of Service Vulnerability — Windows Server 2012 R2 7.5 High2025-04-08
CVE-2024-52981 Elastic Elasticsearch 资源管理错误漏洞 — Elasticsearch 4.9 Medium2025-04-08
CVE-2024-52974 Elastic Kibana 资源管理错误漏洞 — Kibana 6.5 Medium2025-04-08
CVE-2024-52980 Elasticsearch Uncontrolled Resource Consumption vulnerability — Elasticsearch 6.5 Medium2025-04-08
CVE-2025-3016 Open Asset Import Library Assimp MDL File MDLMaterialLoader.cpp ParseTextureColorData resource consumption — Assimp 4.3 Medium2025-03-31
CVE-2025-2586 Ols: unauthenticated metrics flooding in openshift lightspeed service leading to resource exhaustion 7.5 High2025-03-31
CVE-2025-2820 Denial of Service — Product family GLx and CWx 6.5 Medium2025-03-26
CVE-2025-26500 VxWorks 7 USB Failure — VxWorks 7 4.6 Medium2025-03-21
CVE-2025-30160 Redlib allows a Denial of Service via DEFLATE Decompression Bomb in restore_preferences Form — redlib 7.5 -2025-03-20
CVE-2024-12063 Denial of Service in imartinez/privategpt — imartinez/privategpt 7.5 -2025-03-20
CVE-2024-12070 Denial of Service in haotian-liu/llava — haotian-liu/llava 7.5 -2025-03-20
CVE-2024-11043 Denial of Service (DoS) via Large Payload in Board Name Field in invoke-ai/invokeai — invoke-ai/invokeai 7.5 -2025-03-20
CVE-2024-12074 Denial of Service in automatic1111/stable-diffusion-webui — automatic1111/stable-diffusion-webui 7.5 -2025-03-20
CVE-2024-10912 Denial of Service in lm-sys/fastchat — lm-sys/fastchat 7.5 -2025-03-20
CVE-2024-12534 Denial of Service (DoS) in open-webui/open-webui — open-webui/open-webui 7.5 -2025-03-20
CVE-2024-10188 Denial of Service in BerriAI/litellm — berriai/litellm 7.5 -2025-03-20
CVE-2024-12864 Unauthenticated DoS by Sending Large Filename at File Upload Endpoint in netease-youdao/qanything — netease-youdao/qanything 7.5 -2025-03-20
CVE-2025-0191 Denial of Service in gaizhenbiao/chuanhuchatgpt — gaizhenbiao/chuanhuchatgpt 7.5 -2025-03-20
CVE-2025-0187 Denial of Service (DoS) by Sending Large Filename at File Upload Endpoint in gradio-app/gradio — gradio-app/gradio 7.5 -2025-03-20
CVE-2024-11033 Denial of Service (DoS) in binary-husky/gpt_academic — binary-husky/gpt_academic 7.5 -2025-03-20
CVE-2024-7036 Denial of Service in open-webui/open-webui — open-webui/open-webui 7.5 -2025-03-20
CVE-2024-10110 Denial of Service in aimhubio/aim — aimhubio/aim 7.5 -2025-03-20
CVE-2024-6838 Uncontrolled Resource Consumption in mlflow/mlflow — mlflow/mlflow 8.2 -2025-03-20
CVE-2024-12761 Denial of Service in brycedrennan/imaginairy — brycedrennan/imaginairy 7.5 -2025-03-20

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