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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-674 未经控制的递归 类漏洞列表 343

CWE-674 未经控制的递归 类弱点 343 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-674 属于资源管理不当类漏洞,指程序未对递归深度进行有效限制,导致内存或栈空间被过度消耗。攻击者通常通过构造深层嵌套的输入或恶意请求,触发无限或过深的递归调用,从而耗尽系统资源,引发拒绝服务攻击。开发者应在代码中设置明确的递归终止条件或最大深度阈值,并引入迭代逻辑替代深层递归,以确保资源使用的可控性。

MITRE CWE 官方描述
CWE:CWE-674 Uncontrolled Recursion(失控递归) 英文:产品未对发生的递归量进行适当控制,导致消耗过多资源,例如已分配的内存(allocated memory)或程序栈(program stack)。
常见影响 (2)
Availability DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory)
Resources including CPU, memory, and stack memory could be rapidly consumed or exhausted, eventually leading to an exit or crash.
Confidentiality Read Application Data
In some cases, an application's interpreter might kill a process or thread that appears to be consuming too much resources, such as with PHP's memory_limit setting. When the interpreter kills the process/thread, it might report an error containing detailed information such as the application's insta…
缓解措施 (2)
Implementation Ensure that an end condition will be reached under all logic conditions. The end condition may include checking against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.
Effectiveness: Moderate
Implementation Increase the stack size.
Effectiveness: Limited
代码示例 (1)
In this example a mistake exists in the code where the exit condition contained in flg is never called. This results in the function calling itself over and over again until the stack is exhausted.
void do_something_recursive (int flg) { ... // Do some real work here, but the value of flg is unmodified if (flg) { do_something_recursive (flg); }    // flg is never modified so it is always TRUE - this call will continue until the stack explodes } int flag = 1; // Set to TRUE do_something_recursive (flag);
Bad · C
void do_something_recursive (int flg) { ... // Do some real work here // Modify value of flg on done condition if (flg) { do_something_recursive (flg); }    // returns when flg changes to 0 } int flag = 1; // Set to TRUE do_something_recursive (flag);
Good · C
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-61811 Wazuh os_xml _getattributes() 递归漏洞导致分析线程栈耗尽 — wazuh 6.5 Medium 2026-09-24
CVE-2026-95844 Moquette 深层嵌套 MQTT 主题栈溢出漏洞 — moquette 8.7 High 2026-09-23
CVE-2026-78253 Qt QXmlStreamReader 栈耗尽拒绝服务漏洞 — qt 2.3 Low 2026-09-23
CVE-2026-63386 js-toml 深度嵌套导致递归栈溢出漏洞 — js-toml 5.3 Medium 2026-09-22
CVE-2026-75655 Bridge 无控制递归漏洞 — Adobe Bridge 7.8 High 2026-09-22
CVE-2026-95861 UniFi网关未控制递归致拒绝服务漏洞 — Dream Machines 7.5 High 2026-09-22
CVE-2026-59168 Dasel JSON/XML解析器栈溢出拒绝服务漏洞 — dasel 6.2 Medium 2026-09-21
CVE-2026-65651 temporalio/sqlparser 深层嵌套表达式栈溢出漏洞 — temporalio/sqlparser 6.0 Medium 2026-09-21
CVE-2026-61551 Icinga 2 深层嵌套 JSON 栈溢出漏洞 — icinga2 8.6 High 2026-09-18
CVE-2026-59156 OpenImageIO FITS头部解析栈溢出漏洞 — OpenImageIO 6.5 Medium 2026-09-18
CVE-2026-93687 braces 3.0.3 深度嵌套栈溢出漏洞 — braces 7.5 High 2026-09-18
CVE-2026-93450 swag 0.27.1 前递归漏洞 — swag 7.5 High 2026-09-17
CVE-2026-93435 redis-parser 3.0.0 拒绝服务漏洞 — redis-parser 7.5 High 2026-09-17
CVE-2026-52852 Traccar 组父级循环导致无限循环拒绝服务漏洞 — traccar 6.5 Medium 2026-09-17
CVE-2026-54451 Elixir protobuf嵌入式消息解码无限递归漏洞 — protobuf 8.2 High 2026-09-17
CVE-2026-89418 protobuf-javascript 拒绝服务漏洞 — protobuf-javascript (aka google-protobuf npm package) 8.7 High 2026-09-17
CVE-2026-19248 Qt XML QDomNode递归漏洞 — qt 7.1 High 2026-09-16
CVE-2026-12358 IBM Verify Access 安全漏洞 — Verify Identity Access - - 2026-09-15
CVE-2026-91968 Vikunja 资源管理错误漏洞 — vikunja 6.5 Medium 2026-09-15
CVE-2026-53752 Jason Harrop docx4j 资源管理错误漏洞 — docx4j 7.5 High 2026-09-14
CVE-2026-90472 msgpack-java 资源管理错误漏洞 — msgpack-java 5.3 Medium 2026-09-12
CVE-2026-88763 Red Hat Service Interconnect 资源管理错误漏洞 — Service Interconnect 2 for RHEL 8 5.9 Medium 2026-09-10
CVE-2026-19201 Google Go-Attestation 资源管理错误漏洞 — go-attestation 6.6 Medium 2026-09-08
CVE-2026-69378 Microsoft Exchange Server 资源管理错误漏洞 — Microsoft Exchange Server 2016 Cumulative Update 23 7.5 High 2026-09-08
CVE-2026-73321 XenForo 资源管理错误漏洞 — XenForo 6.5 Medium 2026-09-08
CVE-2026-11573 Qt 资源管理错误漏洞 — qt 7.1 High 2026-09-08
CVE-2026-17440 IBM App Connect Enterprise 资源管理错误漏洞 — App Connect Enterprise 5.5 Medium 2026-09-04
CVE-2026-77465 Michelle Tilley TOML Parser for Node.js 资源管理错误漏洞 — toml-node 7.5 High 2026-09-03
CVE-2026-84851 Amazon Ion C 资源管理错误漏洞 — ion-c 7.5 High 2026-09-02
CVE-2026-14255 Autodesk Shared Components 资源管理错误漏洞 — Shared Components 5.5 Medium 2026-09-02

CWE-674(未经控制的递归) 是常见的弱点类别,本平台收录该类弱点关联的 343 条 CVE 漏洞。