CWEweakness
CWE-1050 Excessive Platform Resource Consumption within a Loop
- Abstraction
- Base
- Structure
- Simple
- Status
- Incomplete
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product has a loop body or loop condition that contains a control element that directly or
indirectly consumes platform resources, e.g. messaging, sessions, locks, or file
descriptors.
Common consequences
• Availability: DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other), Reduce Performance — This issue can make the product perform more slowly. If an attacker can influence the number of iterations in the loop, then this performance problem might allow a denial of service by consuming more platform resources than intended.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Related
Child of · CWE (1)
- CWE-405 Asymmetric Resource Consumption (Amplification) weakness
Referenced by CVE · weakness (20)
- CVE-2026-85977 A flaw was found in libtirpc. vulnerability
- CVE-2026-100350 kin-openapi is a Go project for handling OpenAPI files. vulnerability
- CVE-2026-94287 A denial of service via unsigned underflow in libXpm's write path in libXpm before 3.5.19 could be used by local attackers to cause… vulnerability
- CVE-2026-81736 If a BIND resolver has cached a tree of SVCB/HTTPS AliasMode records, and is then queried for the root of that tree, the resolver will… vulnerability
- CVE-2026-52681 Sieve CPU resource usage is tracked in the compiled script, so an attacker that has valid credentials can reset the accounting by… vulnerability
- CVE-2026-71488 league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. vulnerability
- CVE-2026-48779 ws is an open source WebSocket client and server for Node.js. vulnerability
- CVE-2026-41292 NLnet Labs Unbound up to and including version 1.25.0 is vulnerable to a degradation of service attack related to parsing long lists of… vulnerability
- CVE-2026-44390 NLnet Labs Unbound up to and including version 1.25.0 has a vulnerability when handling replies with very large RRsets that Unbound needs… vulnerability
- CVE-2026-4634 A flaw was found in Keycloak. vulnerability
- CVE-2026-22261 Suricata is a network IDS, IPS and NSM engine. vulnerability
- CVE-2026-22263 Suricata is a network IDS, IPS and NSM engine. vulnerability
- CVE-2025-67419 A Denial of Service (DoS) vulnerability in evershop 2.1.0 and prior allows unauthenticated attackers to exhaust the application server's… vulnerability
- CVE-2025-48866 ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. vulnerability
- CVE-2025-47947 ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. vulnerability
- CVE-2025-32907 A flaw was found in libsoup. vulnerability
- CVE-2024-4068 The NPM package `braces`, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory… vulnerability
- CVE-2023-1390 A remote denial of service vulnerability was found in the Linux kernel’s TIPC kernel module. vulnerability
- CVE-2021-41039 In versions 1.6 to 2.0.11 of Eclipse Mosquitto, an MQTT v5 client connecting with a large number of user-property properties could cause… vulnerability
- CVE-2019-11254 The Kubernetes API Server component in versions 1.1-1.14, and versions prior to 1.15.10, 1.16.7 and 1.17.3 allows an authorized user who… vulnerability