StraitOfVuln
Latest / CVE-2026-134916

CVE-2026-134916

MediumCVSS 6.9 (v4.0)Received
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-134916
Published / updated
30 Nov 2026, 19:17 UTC · last modified 03 Dec 2026, 18:17 UTC
Severity
MEDIUM
CVSS score
6.9 · v4.0 · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: Local
Affected vendor
leandrocp
Affected products
mdex
Affected versions
mdex: 0.8.3 to before 0.15.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
mdex 0.15.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.25% probability of exploitation in the next 30 days · 18% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
6b3ad84c-e1a6-4bf7-a703-f496b71e49db