1. CVE archive
  2. Vulnerability types
  3. CWE-400
CWE-400 · #23 most frequent type in the archive

Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource.

Part of: CWE-664 · Improper Control of a Resource Through its Lifetime

3,927CVEs of this type in the archive
51critical (CVSS ≥ 9)
2,040high severity (7–8.9)
Dec 2, 2026latest published

What it is

The product does not properly control the allocation and maintenance of a limited resource.

Impact on systems

ScopeImpact
Availability DoS: 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 environment, i.e., the product may slow down, crash due to unhandled errors, or lock out legitimate users. For example, a memory exhaustion attack against an application could slow down the application as well as its host operating system.
Access Control, Other Bypass 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.

How to prevent it

Architecture and Design Design 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, perhaps by caching result sets, can help minimize the resources expended. To further limit the potential for a DoS attack, consider tracking the rate of requests received from users and blocking requests that exceed a defined rate threshold.
Architecture and Design Mitigation 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 prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question. The second solution is simply difficult to effectively institute -- and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.
Architecture and Design Ensure that protocols have specific limits of scale placed on them.
Implementation Ensure that all failures in resource allocation place the system into a safe posture.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-400 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
19991
20011
20021
20032
20041
20056
20066
20074
20083
20097
20105
201117
201210
20134
201415
20152
201612
2017132
2018172
2019132
2020221
2021182
2022231
2023349
2024360
2025427
20261,624

All CWE-400 CVEs

3,927 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.