Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 7, 2026
- Reserved
- Nov 3, 2026
Description
Mistune before 3.3.3 contains a denial of service vulnerability in InlineParser.parse_link that allows attackers to cause quadratic CPU growth by supplying balanced nested brackets. Attackers can submit crafted Markdown with thousands of nested bracket pairs not forming a valid link, triggering repeated _contains_nested_link scans that exhaust CPU in parsing applications.
| Product | Versions |
|---|---|
| mistune lepture | before 3.3.3 Affected3.3.3 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-400 Uncontrolled Resource Consumption
References
- GitHub Security Advisory (GHSA-47p6-w2rc-5qf7)Vendor Advisory
- Patch CommitPatch
- VulnCheck Advisory: Mistune before 3.3.3 Denial of Service via Balanced Bracket Link ParsingThird-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.