CWE-606Base

Unchecked Input for Loop Condition

Draft in the CWE catalog · 41 CVEs mapped

41
CVEs mapped
6.5
Median CVSS
What it is

The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.

Recent examples
none
CVE-2026-85730

CVE-2026-85730 - UNKNOWN Severity Vulnerability

smol-toml is a small, fast, and correct TOML parser and serializer. Prior to 1.7.1, parse() can enter an infinite loop when a value inside an array or inline table is followed by a comment with no trailing newline. In src/util.ts, skipUntil() calls indexOfNewline(), receives -1 at the end of input, and resets the cursor to the beginning of the string instead of leaving the structure scan. The parser then hangs indefinitely and can consume a service's processing capacity when an application parses attacker-controlled TOML. This issue is fixed in version 1.7.1.

no explanation yet
0%
epss
none
CVE-2026-13761

CVE-2026-13761 - UNKNOWN Severity Vulnerability

Pega Platform versions 7.1.0 through 25.1.2 are affected by an improper validation of inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.

no explanation yet
0%
epss
none
CVE-2026-16599

CVE-2026-16599 - UNKNOWN Severity Vulnerability

GNU wget is vulnerable to denial of service in its FTP OPIE/S-KEY authentication functionality. The server-supplied sequence number from the FTP challenge line is used as an iteration count for an MD5 key-derivation loop without any upper bound validation. A malicious FTP server or a network attacker positioned to intercept FTP traffic can send a crafted OPIE challenge with a sequence number near INT_MAX, causing wget to perform up to approximately 2.1 billion MD5 computations and suspend for some time. The --timeout option does not mitigate this because it applies only to network I/O, not CPU computation. This issue was fixed in commit e9697d98e7249b0f68a6be040a4f3dcc5bc101fa

no explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-606
Abstraction
Base
Structure
Simple
Status
Draft
References (1)