CWE-834: Excessive Iteration
The product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.
Last updated
Overview
If the iteration can be influenced by an attacker, this weakness could allow attackers to consume excessive resources such as CPU or memory. In many cases, a loop does not need to be infinite in order to cause enough resource consumption to adversely affect the product or its host system; it depends on the amount of resources consumed per iteration.
Real-world CVEs
29 recorded CVEs are caused by CWE-834 (Excessive Iteration). The highest-severity and most recent are shown first. 6 new CWE-834 CVEs have been recorded so far in 2026 (6 in 2025).