Skip to content
MediumVulnerability

CVE-2026-129522: MDEx.FragmentParser denial of service via streamed Markdown auto-close

Identifier
CVE-2026-129522
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Inefficient algorithmic complexity in MDEx.FragmentParser in leandrocp mdex lets an attacker who controls streamed or auto-closed Markdown cause denial of service through CPU exhaustion. Applications rendering untrusted Markdown with MDEx.stream/2 or the auto_close option are affected, including live previews and streamed LLM output. The close_bracket/5 function in lib/mdex/fragment_parser.ex rescans link tails for repeated ]( openers, so about 100 KB of input can occupy a scheduler for over ten seconds; affected versions are mdex 0.14.2 before 0.15.0.

Mitigation

Fixed in mdex 0.15.0.