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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| lepture | mistune | < 3.3.3 |
References
- https://github.com/lepture/mistune/commit/fe02f40faf091f86da9ed62c865f31e11da111d7
- https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7
- https://www.vulncheck.com/advisories/mistune-before-3.3.3-denial-of-service-via-balanced-bracket-link-parsing
- https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7
Timeline
- Published
- Nov 3, 2026
- Last modified
- Nov 7, 2026
- NVD status
- Deferred