Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/lepture/mistune/commit/fe02f40faf091f86da9ed62c865f31e11da111
- 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-
- https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7
FAQ
What is CVE-2026-121438?
CVE-2026-121438 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 subm...
How severe is CVE-2026-121438?
CVE-2026-121438 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-121438?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.