Detect Loop with Unreachable Exit Condition ('Infinite Loop') with Automated Static Analysis
Documented detection approaches include Automated Static Analysis; recorded impacts include DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), and DoS: Amplification; observed examples include CVE-2025-32399, CVE-2022-22224, and CVE-2022-25304. Use these source-defined anchors to turn CWE-835 into implementation, review, and verification checks for the affected component.
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') — MITRE CWE