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

目标: 1000 元 · 已筹: 1359 元

100%

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

CWE-674 未经控制的递归 类弱点 356 条 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-119187 Forge TLS 记录处理栈耗尽拒绝服务漏洞 — forge 7.5 High 2026-10-29
CVE-2026-119137 Wasmtime 42.0.0 至 48.0.5 及 49.0.0 至 49.0.2 栈溢出漏洞 — wasmtime 5.3 Medium 2026-10-29
CVE-2026-119123 ImageMagick 7.1.2-34 TIFF 解码器栈溢出漏洞 — ImageMagick 3.7 Low 2026-10-29
CVE-2026-105042 Apache Qpid Proton C AMQP 消息解析栈溢出漏洞 — Apache Qpid Proton C - - 2026-10-29
CVE-2026-88858 服务端表达式解析器拒绝服务漏洞 — Grafana OSS 6.5 Medium 2026-10-28
CVE-2026-118037 Telerik RadSpread 资源耗尽漏洞 — Telerik Document Processing Libraries 7.5 High 2026-10-28
CVE-2026-118036 Telerik RadPdfProcessing 资源耗尽漏洞 — Telerik Document Processing Libraries 7.5 High 2026-10-28
CVE-2026-118035 Telerik RadWordsProcessing 资源耗尽漏洞 — Telerik Document Processing Libraries 7.5 High 2026-10-28
CVE-2026-108331 Tanium Threat Response 无限循环漏洞。 — Endpoint Configuration Toolset Solution 3.3 Low 2026-10-27
CVE-2026-116871 Semantic MediaWiki 3.0.0 递归漏洞 — SemanticMediaWiki 7.5 High 2026-10-27
CVE-2026-116586 Go JOSE JSON 解析恐慌漏洞 — go-jose 6.9 Medium 2026-10-26
CVE-2026-65628 JOSE 无限递归导致 CPU 拒绝服务漏洞 — jose 5.9 Medium 2026-10-26
CVE-2026-116144 ImageMagick 6.9.13-58 及 7.1.2-33 MVG 解码器栈溢出漏洞 — ImageMagick 3.3 Low 2026-10-25
CVE-2026-116011 Crow 1.3.4 前版本深度嵌套 JSON 拒绝服务漏洞 — Crow 7.5 High 2026-10-24
CVE-2026-114605 dnspython dns.name.from_wire_parser() CPU 资源耗尽漏洞 — dnspython 7.5 High 2026-10-22
CVE-2026-66282 Zigbee 已认证拒绝服务漏洞 — EmberZNet 6.0 Medium 2026-10-22
CVE-2026-110974 android-json 嵌套JSON无控递归导致拒绝服务漏洞 — android-json 6.3 Medium 2026-10-22
CVE-2026-82230 Apache bRPC 远程栈溢出漏洞 — Apache bRPC - - 2026-10-21
CVE-2026-54427 Apache bRPC AMF 解析器无限递归栈耗尽漏洞 — Apache bRPC - - 2026-10-21
CVE-2026-54426 Apache bRPC Redis 解析器栈耗尽漏洞 — Apache bRPC - - 2026-10-21
CVE-2026-54425 Apache bRPC HPACK 动态表大小更新解码栈耗尽漏洞 — Apache bRPC - - 2026-10-21
CVE-2026-92822 Libmodulemd 解析嵌套 xmd yaml 时无限递归漏洞 — Red Hat Enterprise Linux 10 6.2 Medium 2026-10-21
CVE-2026-113650 ApostropheCMS sanitize-html 递归栈溢出漏洞 — apostrophe 5.3 Medium 2026-10-20
CVE-2026-112895 Pillow 远程代码执行漏洞 — Pillow 8.7 High 2026-10-19
CVE-2026-110673 Perl Cpanel::JSON::XS 4.80 栈耗尽漏洞 - - 2026-10-19
CVE-2026-112368 MongoDB PHP 驱动无限递归漏洞 — PHP Driver 7.5 High 2026-10-19
CVE-2026-8168 Qt SVG 解析器拒绝服务漏洞 — qt 7.1 High 2026-10-19
CVE-2026-111923 Fleet 4.89.0 之前版本 Apple MDM 解析未授权拒绝服务漏洞 — fleet 7.5 High 2026-10-17
CVE-2026-55862 pupnp 递归 DOM 函数导致栈溢出漏洞 — pupnp 6.5 Medium 2026-10-16
CVE-2026-100354 kin-openapi 循环Schema导致致命崩溃漏洞 — kin-openapi 7.5 High 2026-10-15

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