CWE-835: Loop with Unreachable Exit Condition
947 CVEs have CWE-835 as their primary weakness. 1 of them are in the CISA KEV catalog. The highest EPSS score among them is 86.608%.
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Child of CWE-834: Excessive Iteration
Observed examples
- CVE-2025-32399: Chain: library for implementing Profinet devices does not check an input for a loop condition (CWE-606), allowing an infinite loop (CWE-835) via a crafted RPC packet
- CVE-2022-22224: Chain: an operating system does not properly process malformed Open Shortest Path First (OSPF) Type/Length/Value Identifiers (TLV) (CWE-703), which can cause the process to enter an infinite loop (CWE-835)
- CVE-2022-25304: A Python machine communication platform did not account for receiving a malformed packet with a null size, causing the receiving function to never update the message buffer and be caught in an infinite loop.
- CVE-2011-1027: Chain: off-by-one error (CWE-193) leads to infinite loop (CWE-835) using invalid hex-encoded characters.
- CVE-2011-1142: Chain: self-referential values in recursive definitions lead to infinite loop.
- CVE-2011-1002: NULL UDP packet is never cleared from a queue, leading to infinite loop.
- CVE-2006-6499: Chain: web browser crashes due to infinite loop - bad looping logic [that relies on] floating point math [CWE-1339] to exit the loop [CWE-835]
- CVE-2010-4476: Floating point conversion routine cycles back and forth between two different values.
- CVE-2010-4645: Floating point conversion routine cycles back and forth between two different values.
- CVE-2010-2534: Chain: improperly clearing a pointer in a linked list leads to infinite loop.
- CVE-2013-1591: Chain: an integer overflow (CWE-190) in the image size calculation causes an infinite loop (CWE-835) which sequentially allocates buffers without limits (CWE-1325) until the stack is full.
- CVE-2008-3688: Chain: A denial of service may be caused by an uninitialized variable (CWE-457) allowing an infinite loop (CWE-835) resulting from a connection to an unresponsive server.
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2024-20353 | 2024-04-24 | HIGH | 8.6 | 69.824% | A vulnerability in the management and VPN web servers for Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software… |
| CVE-2026-125275 | 2026-11-17 | HIGH | 8.2 | 0.389% | Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in device certificate verification in nerves-hub nerves_hub_web allows an unauthenticated… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-835'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-835'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).