Security Resilience

CWE · MITRE source

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

Abstraction: Base · CVEs in our corpus: 992

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

Last updated: 15 October 2026 20:36 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 PROPOSED for this weakness (2)AI-assisted

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

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.29.80.42252019-11-26
CVE-2024-20353 KEV 8.88.60.70692024-04-24
CVE-2014-0050 8.47.50.83332014-04-01
CVE-2019-14241 8.47.50.70242019-07-23
CVE-2020-13935 8.47.50.86612020-07-14
CVE-2020-36227 8.47.50.77242021-01-26
CVE-2022-0778 8.47.50.73192022-03-15
CVE-2017-16944 8.27.50.63362017-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.49532022-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.39642024-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.00422025-03-12
CVE-2017-15908 7.27.50.23632017-10-26
CVE-2022-46770 7.27.50.22432022-12-07
CVE-2023-45363 7.27.50.23782023-10-09
CVE-2023-1718 7.27.50.24082023-11-01