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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-134916— Quadratic CPU consumption in MDEx Quill Delta conversion of nested block quotes

Quick assessment

Affected
leandrocp mdex
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

漏洞描述:在 leandrocp 的 mdex 中存在低效算法复杂度漏洞。攻击者若控制 Markdown 输入,可通过传给 的深层嵌套块引用,导致 CPU 耗尽并造成拒绝服务。 将文档转换为 Quill Delta 时, (位于 )会为每个 和 节点调用 ,而该函数会重写该节点所有后代产生的每个 op。因此转换成本为“嵌套深度 × 内部 op 数量”;解析器不限制块引用深度。数百千字节的文档可使某个调度器运行数分钟,而同一输入的解析和 HTML 渲染只需毫秒。 预算只限制原生解析,不限制转换过程。 影响范围:mde

CVSS 6.9 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-134916

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Quadratic CPU consumption in MDEx Quill Delta conversion of nested block quotes
Source: CVE Program / CVE List V5
Vulnerability Description
Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to MDEx.to_delta/2. When converting a document to a Quill Delta, MDEx.DeltaConverter.default_convert_node/3 in lib/mdex/delta_converter.ex calls apply_block_format/2 for every MDEx.BlockQuote and MDEx.Alert node, and that function rewrites every op produced by the node's descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The parse_time budget bounds only the native parse, not the conversion. This issue affects mdex: from 0.8.3 before 0.15.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
算法复杂性
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
leandrocp mdex 0.8.3 ~ 0.15.0 cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
leandrocp mdex 9852db2456fdc9d856eb636603a7f608e22e3793 ~ 75e735a26859f93c36f10d17a3119f856fe69009 cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-134916

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-134916

请登录查看更多情报信息。

Other References for CVE-2026-134916 (4)

Same Patch Batch · leandrocp · 2026-11-30 · 10 CVEs total

CVE-2026-134915 6.9 MEDIUM Quadratic HTML tag tracking in MDEx.stream/2 allows CPU exhaustion via unmatched closing t
CVE-2026-131906 6.9 MEDIUM Cubic-time nested block quote rendering in MDEx to_slack enables CPU denial of service
CVE-2026-135775 5.9 MEDIUM Quadratic CPU consumption in mdex auto-close trimming of trailing parentheses after bare U
CVE-2026-136268 5.1 MEDIUM Code block fence breakout in MDEx to_slack/2 allows Slack mention and link injection
CVE-2026-129522 2.1 LOW Quadratic rescanning in MDEx auto-close link scanner allows CPU denial of service
CVE-2026-137162 2.1 LOW Quadratic CPU consumption in mdex auto-close block quote prefix expansion
CVE-2026-136129 2.1 LOW Dangerous URL filter bypass via control characters in MDEx Quill Delta output (XSS)
CVE-2026-136130 2.1 LOW Slack mention injection through link destinations in MDEx.to_slack/2
CVE-2026-135699 2.1 LOW Quadratic regular expression scans in MDEx auto_close text policy allow CPU denial of serv

IV. Related Vulnerabilities