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

目标: 1000 元 · 已筹: 1336

100%

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

CWE-674 未经控制的递归 类弱点 262 条 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-90472 msgpack-java 0.9.12 嵌套数组导致的堆栈溢出 — msgpack-java 5.3 Medium 2026-09-12
CVE-2026-88763 Skupper-router AMQP解析器无界递归拒绝服务漏洞 — Red Hat Service Interconnect 2 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
CVE-2026-81928 Perl Net::DNS 1.57 前内存耗尽漏洞 - - 2026-09-01
CVE-2026-82797 SAMSUNG rlottie 资源管理错误漏洞 — rlottie 5.5 Medium 2026-08-31
CVE-2026-82604 barebones bbedit 资源管理错误漏洞 — BBEdit 4.3 Medium 2026-08-31
CVE-2026-78228 Ash Framework AshOban 资源管理错误漏洞 — ash_oban 5.9 Medium 2026-08-30
CVE-2026-75758 The Elixir programming language Elixir 资源管理错误漏洞 — elixir 5.9 Medium 2026-08-28
CVE-2026-73209 Open-Xchange Dovecot Pro 资源管理错误漏洞 — OX Dovecot Pro 6.5 Medium 2026-08-28
CVE-2026-81724 Natural Language Toolkit 资源管理错误漏洞 — nltk 5.3 Medium 2026-08-27
CVE-2026-16781 Autodesk 3ds Max 资源管理错误漏洞 — 3ds Max 5.5 Medium 2026-08-24
CVE-2026-76098 lepture mistune 资源管理错误漏洞 — mistune 7.5 High 2026-08-24
CVE-2026-9769 EmilStenstrom JustHTML 资源管理错误漏洞 — justhtml 7.5 High 2026-08-23
CVE-2026-66393 NLTK 资源管理错误漏洞 — nltk 7.5 High 2026-08-22
CVE-2026-63462 Unleash 资源管理错误漏洞 — unleash 7.5 High 2026-08-21
CVE-2026-54623 Django CMS Association django CMS 资源管理错误漏洞 — django-cms 7.1 High 2026-08-20
CVE-2026-40345 Rebecca Stevens DeepmergeTS 资源管理错误漏洞 — deepmerge-ts 8.2 High 2026-08-20
CVE-2026-16440 Eclipse OpenJ9 资源管理错误漏洞 — Eclipse OpenJ9 5.7 Medium 2026-08-19
CVE-2026-69220 RabbitMQ rabbitmq-java-client 资源管理错误漏洞 — rabbitmq-java-client 8.7 High 2026-08-18
CVE-2026-74795 scriban 资源管理错误漏洞 — scriban 7.5 High 2026-08-16
CVE-2026-74794 scriban 资源管理错误漏洞 — scriban 7.5 High 2026-08-16
CVE-2026-74792 scriban 资源管理错误漏洞 — scriban 7.5 High 2026-08-16
CVE-2026-74787 scriban 资源管理错误漏洞 — scriban 7.5 High 2026-08-16

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