logo

CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

CWE-835

  • Abstraction:
  • Base
  • Structure:
  • Simple
  • Status:
  • Incomplete
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.

If the loop can be influenced by an attacker, this weakness could allow attackers to consume excessive resources such as CPU or memory.

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.

Related Weaknesses
  • Release Date:
  • 2011-03-30
  • Latest Modification Date:
  • 2024-02-29

Free security scan for your website