7.5High
CVE-2026-121437Mistune 3.3.0 before 3.3.4 Quadratic-Time DoS via _process_emphasis_delimiters
Description
Mistune from 3.3.0 before 3.3.4 contains a denial of service vulnerability that allows remote attackers to exhaust CPU through quadratic-time emphasis delimiter processing. Attackers can submit small markdown documents with repeated patterns like "*a_b" to trigger an O(n²) index-fixup loop, stalling workers for seconds.
Weakness (CWE):
CWE-407
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| lepture | mistune | 3.3.0 – < 3.3.4, fixed 3.3.4 | |
| mistune project | mistune | 3.3.0 – < 3.3.4 |
References and patches
- GitHub Security Advisory (GHSA-qp42-r9j6-83g9) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: Mistune 3.3.0 before 3.3.4 Quadratic-Time DoS via _process_emphasis_delimiters third-party-advisory