Cyber Resilience

CWE · MITRE source

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

Abstraction: Base · CVEs in our corpus: 908

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Last updated: 22 August 2026 00:25 UTC

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • CP-7 Alternate Processing Site
  • SC-5 Denial-of-service Protection
  • ID.RA-01
  • PR.PS-06
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

NIST 800-53 r5 controls that address this weakness (2)AI-assisted

Control Title Family Why it addresses this CWE
CP-7Alternate Processing SiteCPEnables transfer to alternate site if an infinite loop at the primary renders processing unavailable.
SC-5Denial-of-service ProtectionSCDetects and mitigates infinite loops that produce sustained resource consumption.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2019-19307 9.19.80.41622019-11-26
CVE-2024-20353 KEV 8.88.60.70692024-04-24
CVE-2019-14241 8.47.50.70242019-07-23
CVE-2020-13935 8.47.50.86612020-07-14
CVE-2020-36227 8.47.50.77742021-01-26
CVE-2022-0778 8.47.50.73192022-03-15
CVE-2017-16944 8.27.50.63322017-11-25
CVE-2023-34966 8.27.50.62402023-07-20
CVE-2018-20784 7.99.80.04172019-02-22
CVE-2020-7046 7.97.50.51262020-02-12
CVE-2021-4044 7.97.50.50102021-12-14
CVE-2022-23833 7.97.50.49252022-02-03
CVE-2019-5097 7.87.50.45062019-12-03
CVE-2017-12990 7.79.80.02552017-09-14
CVE-2017-12995 7.79.80.02412017-09-14
CVE-2017-12997 7.79.80.02462017-09-14
CVE-2024-503207.67.50.39652024-11-12
CVE-2018-8002 7.48.80.08012018-03-09
CVE-2024-36288 7.49.80.00752024-06-21
CVE-2025-21850 7.39.80.00402025-03-12
CVE-2017-15908 7.27.50.23632017-10-26
CVE-2023-45363 7.27.50.22702023-10-09
CVE-2023-1718 7.27.50.24082023-11-01
CVE-2018-1336 7.17.50.20602018-08-02
CVE-2019-18217 7.17.50.19512019-10-21