PT-2026-163918
CVE-2026-134916
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 4.0
6.9
MediumMetricsAV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
mdex versions 0.8.3 through 0.14.9
Description
An inefficient algorithmic complexity issue allows an attacker to cause a denial of service through CPU exhaustion by providing Markdown input with deeply nested block quotes. This occurs during the conversion of a document to a Quill Delta via the
MDEx.to delta/2 function. Specifically, the MDEx.DeltaConverter.default convert node/3 function in lib/mdex/delta converter.ex calls apply block format/2 for every MDEx.BlockQuote and MDEx.Alert node, which rewrites every operation produced by the node's descendants. Because there is no limit on block quote depth, the conversion cost increases based on the nesting depth multiplied by the number of internal operations. This can keep a scheduler busy for several minutes even with small documents of a few hundred kilobytes, while standard parsing and HTML rendering remain fast. The parse time budget only limits the native parse and does not protect the conversion process.Recommendations
Update mdex to version 0.15.0 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾