PT-2026-163915

CVE-2026-129522

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

CVSS 4.0
2.1
Low
MetricsAV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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
Name of the Vulnerable Software and Affected Versions mdex versions 0.14.2 through 0.14.x
Description An inefficient algorithmic complexity issue exists in MDEx.FragmentParser that allows an attacker to cause a denial of service through CPU exhaustion. This occurs when an application renders untrusted Markdown using the MDEx.stream/2 endpoint or the auto close option, such as in live previews or streamed LLM output. The issue is triggered during the auto-closing of the last paragraph, where the close bracket/5 function performs an unbounded forward scan of the link tail for every ]( sequence. If no valid link is found, the scan resumes immediately after the ], causing subsequent ]( sequences to rescan the same tail. Additionally, each closed link re-filters every pending image opener. Repeated sequences of [](x (, [](x(, or ![ openers within a single paragraph result in quadratic time complexity, where approximately 100 KB of input can occupy a scheduler for over ten seconds.
Recommendations Update mdex to version 0.15.0. As a temporary workaround, disable the auto close option or set auto close: false when using the MDEx.stream/2 endpoint.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾