high7.5
CVE-2026-97698
Mistune: Quadratic-time DoS in parse_link_href via unbounded parenthesis scan on empty-label links
Impact
Mistune: Quadratic-time DoS in parse_link_href via unbounded parenthesis scan on empty-label links
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | mistune | < 3.3.4 | 3.3.4 |
Affected products · Lepture
| Product | Affected versions |
|---|---|
| Mistune | before 3.3.4 Version < 3.3.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/lepture/mistune/security/advisories/GHSA-phmp-hrw4-r36r
- https://github.com/lepture/mistune/commit/b4dd3284e52ec741ed9a227db29ade9017828e90
- https://github.com/lepture/mistune/releases/tag/v3.3.4
- https://github.com/advisories/GHSA-phmp-hrw4-r36r
- https://nvd.nist.gov/vuln/detail/CVE-2026-97698