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
- 摘要:
- Base
- 结构:
- Simple
- 状态:
- Incomplete
- 发布日期:
- 2011-03-30
- 更新日期:
- 2026-04-30
名称
Loop with Unreachable Exit Condition ('Infinite Loop')
描述
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
常见后果
- 范围:
- Availability
- 影响:
- DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Amplification
- 注释:
- 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.