目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-835 不可达退出条件的循环(无限循环) 类漏洞列表 410

CWE-835 不可达退出条件的循环(无限循环) 类弱点 410 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-835属于逻辑缺陷类漏洞,指程序包含无法到达退出条件的循环,导致无限执行。攻击者通常利用此缺陷发起拒绝服务攻击,通过触发无限循环耗尽服务器CPU资源或内存,使合法用户无法访问服务。开发者应避免此类问题,需确保循环变量在每次迭代中正确更新,并设置合理的边界检查或超时机制,保证循环最终能正常终止。

MITRE CWE 官方描述
CWE:CWE-835 具有不可达退出条件的循环('Infinite Loop') 英文:该产品包含一个迭代或循环,其退出条件无法被到达,即无限循环。
常见影响 (1)
Availability DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Amplification
An infinite loop will cause unexpected consumption of resources, such as CPU cycles or memory. The software's operation may slow down, or cause a long time to respond.
代码示例 (2)
In the following code the method processMessagesFromServer attempts to establish a connection to a server and read and process messages from the server. The method uses a do/while loop to continue trying to establish the connection to the server when an attempt fails.
int processMessagesFromServer(char *hostaddr, int port) { ... int servsock; int connected; struct sockaddr_in servaddr; // create socket to connect to server servsock = socket( AF_INET, SOCK_STREAM, 0); memset( &servaddr, 0, sizeof(servaddr)); servaddr.sin_family = AF_INET; servaddr.sin_port = htons(port); servaddr.sin_addr.s_addr = inet_addr(hostaddr); do { // establish connection to server connected = connect(servsock, (struct sockaddr *)&servaddr, sizeof(servaddr)); // if connected then read and process messages from server if (connected > -1) { // read and process messages ... } // keep tr
Bad · C
int processMessagesFromServer(char *hostaddr, int port) { ... // initialize number of attempts counter int count = 0; do { // establish connection to server connected = connect(servsock, (struct sockaddr *)&servaddr, sizeof(servaddr)); // increment counter count++; // if connected then read and process messages from server if (connected > -1) { // read and process messages ... } // keep trying to establish connection to the server // up to a maximum number of attempts } while (connected < 0 && count < MAX_ATTEMPTS); // close socket and return success or failure ... }
Good · C
For this example, the method isReorderNeeded is part of a bookstore application that determines if a particular book needs to be reordered based on the current inventory count and the rate at which the book is being sold.
public boolean isReorderNeeded(String bookISBN, int rateSold) { boolean isReorder = false; int minimumCount = 10; int days = 0; // get inventory count for book int inventoryCount = inventory.getIventoryCount(bookISBN); // find number of days until inventory count reaches minimum while (inventoryCount > minimumCount) { inventoryCount = inventoryCount - rateSold; days++; } // if number of days within reorder timeframe // set reorder return boolean to true if (days > 0 && days < 5) { isReorder = true; } return isReorder; }
Bad · Java
public boolean isReorderNeeded(String bookISBN, int rateSold) { ... // validate rateSold variable if (rateSold < 1) { return isReorder; } ... }
Good · Java
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-95824 Infinite loop in IPv6 Router Advertisement handling when the RA omits the source link-layer address option — zephyr 6.5 Medium 2026-11-20
CVE-2026-130451 Loop with Unreachable Exit Condition ('Infinite Loop') in Wireshark — Wireshark 5.5 Medium 2026-11-20
CVE-2026-126568 Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unbounded MSG_PEEK buffer doubling in asn_recv - - 2026-11-20
CVE-2026-128140 NLTK: Downloader cyclic collection indices cause an infinite closure walk — nltk 6.5 Medium 2026-11-19
CVE-2026-133255 CVE-2026-133255 — Ktor 5.3 Medium 2026-11-19
CVE-2026-76416 CVE-2026-76416 — Cisco Secure Endpoint 7.5 High 2026-11-18
CVE-2026-76414 CVE-2026-76414 — Cisco Secure Endpoint 7.5 High 2026-11-18
CVE-2026-118899 NGINX TLSv1.3 vulnerability — NGINX Open Source 7.5 High 2026-11-18
CVE-2026-131874 Gargoyle 2023.1 through 2026.1.1 Plus Interpreter Infinite Loop via ReadString() — Gargoyle 5.5 Medium 2026-11-18
CVE-2026-125275 设备证书CA未注册致TLS握手无限循环漏洞 — nerves_hub_web 8.2 High 2026-11-17
CVE-2026-128987 D-Bus 1.x libdbus CPU死循环漏洞 — Red Hat Enterprise Linux 10 6.2 Medium 2026-11-13
CVE-2026-62974 BACnet Stack 拒绝服务漏洞 — bacnet-stack 8.7 High 2026-11-13
CVE-2026-52789 BACnet Stack 畸形RPM请求拒绝服务漏洞 — bacnet-stack 7.5 High 2026-11-13
CVE-2026-126237 FortiAuthenticator 6.6-8.0 无限循环拒绝服务漏洞 — FortiAuthenticator 7.5 High 2026-11-11
CVE-2026-107496 OpenSSL CMS_encrypt() 无限循环漏洞 — OpenSSL - - 2026-11-10
CVE-2026-97402 Eclipse Kura 3.1.0-5.6.2 蓝牙解析死循环拒绝服务漏洞 — Eclipse Kura 2.3 Low 2026-11-10
CVE-2026-109794 SAP NetWeaver 拒绝服务漏洞 — SAP NetWeaver Application Server ABAP, ABAP Platform and SAP Web Dispatcher 7.5 High 2026-11-10
CVE-2026-90585 Renesas RA SCI UART 驱动中断风暴导致 CPU 锁死漏洞 — zephyr 4.6 Medium 2026-11-09
CVE-2026-125073 FFmpeg 9.0.2 解码器无限循环拒绝服务漏洞 — FFmpeg 5.5 Medium 2026-11-09
CVE-2026-123607 Hickory DNS NSEC3 循环拒绝服务漏洞 — hickory-dns 7.5 High 2026-11-08
CVE-2026-123604 Hickory DNS 0.26.2 前 TC-Retry 循环资源耗尽漏洞 — hickory-dns 7.5 High 2026-11-08
CVE-2026-123964 OpenBMB 无限循环漏洞 — Internet of Agents 4.3 Medium 2026-11-07
CVE-2026-123785 Fluxbox 1.3.7 菜单更新无限循环漏洞 — fluxbox 5.5 Medium 2026-11-06
CVE-2026-123273 ImageMagick 7.1.2-35 前版本 SVG 解码无限循环漏洞 — ImageMagick 6.5 Medium 2026-11-05
CVE-2026-110931 Keycloak-services SAML 1.1 未认证 JVM 终止漏洞 — Red Hat build of Keycloak 26.4 7.5 High 2026-11-05
CVE-2026-107602 Keycloak-services 未认证 CPU 耗尽漏洞 — Red Hat build of Keycloak 26.4 7.5 High 2026-11-05
CVE-2026-33969 NAS认证请求解码无限循环导致拒绝服务漏洞 — Exynos 850 - - 2026-11-05
CVE-2026-122305 Kyverno 1.19.2 前版本拒绝服务漏洞 — kyverno 7.7 High 2026-11-05
CVE-2026-97705 Moleculer TCP 传输层负长度字段拒绝服务漏洞 — moleculer 7.5 High 2026-11-04
CVE-2026-122054 BIG-HKSCS 解码处理特制输入时挂起漏洞 — glibc 5.9 Medium 2026-11-04

CWE-835(不可达退出条件的循环(无限循环)) 是常见的弱点类别,本平台收录该类弱点关联的 410 条 CVE 漏洞。