PyPI
CVE-2026-121438
Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing
- Severity
- Medium 6.9
- Published
- 3 Nov 2026
- Last changed
- 7 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.3.3
- Exploit chance
- 0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
mistunePyPI · osv:PyPI:mistune |
|
About mistune
- Weekly downloads (PyPI)
- 17,178,849PyPI Stats, 24 Nov 2026
Vulnerabilities in mistune
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-97698Mistune: Quadratic-time DoS in parse_link_href via unbounded parenthesis scan on empty-label linksHigh 7.5 19 Nov 2026
- CVE-2026-97699Mistune: Quadratic-time DoS in inline image parsing (precedence_scan) bypasses not-is-image guardsHigh 7.5 19 Nov 2026
- CVE-2026-121437Mistune 3.3.0 before 3.3.4 Quadratic-Time DoS via _process_emphasis_delimitersHigh 8.7 3 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-121438