CWE-835βLoop with Unreachable Exit Condition ('Infinite Loop')
PUBLISHEDweakness record
released 2011-03-30 Β· last modified 2026-04-30
Metadata
- CWE ID:
- CWE-835
- Abstraction:
- Base
- Structure:
- Simple
- Status:
- Incomplete
- Release Date:
- 2011-03-30
- Latest Modification Date:
- 2026-04-30
Weakness Name
Loop with Unreachable Exit Condition ('Infinite Loop')
Description
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Common Consequences
- Scope:
- Availability
- Impact:
- DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Amplification
- Notes:
- An infinite loop will cause unexpected consumption of resources, such as CPU cycles or memory. The software's operation may slow down, or cause a long time to respond.