Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-606 (循环条件输入未经检查) — Vulnerability Class 35

35 vulnerabilities classified as CWE-606 (循环条件输入未经检查). AI Chinese analysis included.

CWE-606 represents a logic error where software fails to validate inputs governing loop termination conditions. This weakness typically arises when developers trust external data without verifying its bounds or integrity before using it to control iteration counts. Attackers exploit this vulnerability by supplying maliciously crafted inputs that force the loop to execute excessively, potentially exhausting system resources such as memory or CPU cycles. This exploitation often results in a denial of service, rendering the application unresponsive or causing it to crash. To mitigate this risk, developers must implement rigorous input validation, ensuring that all data used in loop conditions is within expected limits. Additionally, incorporating timeout mechanisms and resource monitoring can prevent infinite loops, while thorough code reviews help identify unchecked variables that could lead to excessive iteration.

MITRE CWE Description
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.
Common Consequences (1)
Availability DoS: Resource Consumption (CPU)
Mitigations (2)
Implementation Do not use user-controlled data for loop conditions.
Implementation Perform input validation.
Examples (2)
The following example demonstrates the weakness.
void iterate(int n){ int i; for (i = 0; i < n; i++){ foo(); } } void iterateFoo() { unsigned int num; scanf("%u",&num); iterate(num); }
Bad · C
In the following C/C++ example the method processMessageFromSocket() will get a message from a socket, placed into a buffer, and will parse the contents of the buffer into a structure that contains the message length and the message body. A for loop is used to copy the message body into a local character string which will be passed to another method for processing.
int processMessageFromSocket(int socket) { int success; char buffer[BUFFER_SIZE]; char message[MESSAGE_SIZE]; // get message from socket and store into buffer //Ignoring possibliity that buffer > BUFFER_SIZE if (getMessage(socket, buffer, BUFFER_SIZE) > 0) { // place contents of the buffer into message structure ExMessage *msg = recastBuffer(buffer); // copy message body into string for processing int index; for (index = 0; index < msg->msgLength; index++) { message[index] = msg->msgBody[index]; } message[index] = '\0'; // process message success = processMessage(message); } return success; }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2026-107569 Unchecked Input for Loop Condition in hMailServer — hMailServer 7.5 High 2026-10-19
CVE-2026-95394 Unchecked Input for Loop Condition in Wireshark — Wireshark 4.7 Medium 2026-09-29
CVE-2026-16652 Temporal Server Schedule exclusion search can cause excessive CPU consumption — Temporal Server 7.1 High 2026-09-21
CVE-2026-93653 Poppler: poppler: unbounded cpu loop in splashoutputdev::tilingpatternfill via unvalidated tiling-pattern repeat count (denial of service) — Red Hat Enterprise Linux 10 5.5 Medium 2026-09-18
CVE-2026-85730 smol-toml: Denial of Service via malformed TOML documents — smol-toml 8.2 High 2026-09-04
CVE-2026-13761 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. — Pega Infinity 8.8 High 2026-08-28
CVE-2026-16599 Denial of Service in GNU wget — wget 5.1 Medium 2026-08-25
CVE-2026-62901 .NET Denial of Service Vulnerability — .NET 10.0 runtime 7.5 High 2026-08-11
CVE-2026-71439 Mermaid radar diagrams are vulnerable to DoS — mermaid 5.3 Medium 2026-08-06
CVE-2026-20301 Cisco IOS Software and IOS XE Software Extensible Messaging Client Protocol Denial of Service Vulnerability — Cisco IOS XE Software 8.6 High 2026-08-05
CVE-2026-67554 Apache Qpid Proton Dotnet: Unbounded disposition range handling can lead to denial of service — Apache Qpid Proton Dotnet - - 2026-08-05
CVE-2026-68077 Apache Qpid Broker-J: Unbounded disposition range handling can lead to denial of service — Apache Qpid Broker-J - - 2026-08-05
CVE-2026-66276 Apache Qpid Proton-J: Unbounded disposition range handling can lead to denial of service — Apache Qpid Proton-J - - 2026-08-05
CVE-2026-55731 Loytec LINX firmware: Unchecked input for loop condition in the SNMP agent — LIP-ME20xC 6.6 Medium 2026-07-24
CVE-2026-33800 Junos OS: MX Series: In a VC scenario a high rate of micro-BFD session flaps will cause an FPC crash — Junos OS 6.5 Medium 2026-07-09
CVE-2026-15172 Unchecked Input for Loop Condition in Wireshark — Wireshark 5.5 Medium 2026-07-08
CVE-2026-41986 Huawei HarmonyOS 安全漏洞 — HarmonyOS 2.4 Low 2026-06-09
CVE-2026-5950 Unbounded resend loop in BIND 9 resolver — BIND 9 5.3 Medium 2026-05-20
CVE-2026-0243 Prisma SD-WAN: Denial of Service (DoS) Vulnerability Through IPv6 Crafted Packet — Prisma SD-WAN ION - - 2026-05-13
CVE-2026-1519 Excessive NSEC3 iterations cause high CPU load during insecure delegation validation — BIND 9 7.5 High 2026-03-25
CVE-2019-25624 Liquid Studio 2.17 Denial of Service via Malformed Input — Liquid Studio 6.2 Medium 2026-03-23
CVE-2026-27689 Denial of service (DOS) in SAP Supply Chain Management — SAP Supply Chain Management 7.7 High 2026-03-10
CVE-2026-23689 Denial of service (DOS) in SAP Supply Chain Management — SAP Supply Chain Management 7.7 High 2026-02-10
CVE-2025-43801 Liferay Portal和Liferay DXP 安全漏洞 — Portal 7.5AI High AI 2025-09-16
CVE-2025-42930 Denial of Service (DoS) vulnerability in SAP Business Planning and Consolidation — SAP Business Planning and Consolidation 6.5 Medium 2025-09-09
CVE-2024-13931 Authenticated Relative Path Traversal — ASPECT-Enterprise 7.2 High 2025-05-22
CVE-2024-13930 Authenticated Unchecked Loop Condition — ASPECT-Enterprise 4.9 Medium 2025-05-22
CVE-2025-32399 RT-Labs P-Net 安全漏洞 — P-Net 5.3 Medium 2025-05-07
CVE-2024-8508 Unbounded name compression could lead to Denial of Service — Unbound 5.3 Medium 2024-10-03
CVE-2024-4603 Excessive time spent checking DSA keys and parameters — OpenSSL 7.5AI High AI 2024-05-16

Vulnerabilities classified as CWE-606 (循环条件输入未经检查) represent 35 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.