Mistune 3.3.0 before 3.3.4 Quadratic-Time DoS via _process_emphasis_delimiters
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Nov 3, 2026
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.
| Product | Versions |
|---|---|
| mistune lepture | 3.3.0 to before 3.3.4 Affected3.3.4 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-407 Inefficient Algorithmic Complexity
References
- GitHub Security Advisory (GHSA-qp42-r9j6-83g9)Vendor Advisory
- Patch CommitPatch
- VulnCheck Advisory: Mistune 3.3.0 before 3.3.4 Quadratic-Time DoS via _process_emphasis_delimitersThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.