CVE-2026-134916
published medium CVSS 4.0 · 6.9Quadratic CPU consumption in MDEx Quill Delta conversion of nested block quotes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| leandrocp | — | mdex0.8.3 to < 0.15.0 · Other versions: unaffected | Affected | Not stated | EEF |
| leandrocp | — | leandrocp/mdexmdex · 9852db2456fdc9d856eb636603a7f608e22e3793 to < 75e735a26859f93c36f10d17a3119f856fe69009 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| leandrocp | mdex | 0.8.3 to < 0.15.0 (affected · semver)Default: unaffected | EEF · cna |
| leandrocp | mdex | 9852db2456fdc9d856eb636603a7f608e22e3793 to < 75e735a26859f93c36f10d17a3119f856fe69009 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-407 CWE-407 Inefficient Algorithmic Complexity
References
4- EEF CNA record for CVE-2026-134916 https://cna.erlef.org/cves/CVE-2026-134916.html
- Fix commit 75e735a in leandrocp/mdex https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009
- Introducing commit 9852db2 in leandrocp/mdex https://github.com/leandrocp/mdex/commit/9852db2456fdc9d856eb636603a7f608e22e3793
- OSV record EEF-CVE-2026-134916 https://osv.dev/vulnerability/EEF-CVE-2026-134916
Provider assertions
1EEF · cna
Quadratic CPU consumption in MDEx Quill Delta conversion of nested block quotes
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9b25ef06544f90f66347bb7ddf338cfe9aa82b65bc2f8c1ebe7c630aa34f8015
- Ingested
- 30 Nov 2026, 18:59:00 UTC
- Source record
- Official CVE record