# CVE-2026-129522

- Bağlantı: https://www.allsafe.com.tr/cve-2026-129522/
- Yayımlanma: 2026-11-30T22:17:43+03:00
- Yazar: Postmaster

Inefficient Algorithmic Complexity vulnerability in MDEx.FragmentParser in leandrocp
mdex allows an attacker who controls streamed or auto-closed Markdown to cause a
denial of service through CPU exhaustion. Any application that renders untrusted
Markdown with MDEx.stream/2 or the auto_close option is affected, for example live
previews or streamed LLM output.

While auto-closing the last paragraph, close_bracket/5 in lib/mdex/fragment_parser.
ex runs an unbounded forward scan of the link tail for every ](. When that scan 
finds no valid link, scanning resumes just after the ], so the next ]( rescans the
same tail. Each closed link also re-filters every pending image opener. Repeated[](
x (, [](x(, or ![ openers in one paragraph therefore cost quadratic time, and about
100 KB of input occupies a scheduler for over ten seconds.

This issue affects mdex: from 0.14.2 before 0.15.0.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-129522)
