CVE-2026-121438
Mistune before 3.3.3 contains a denial of service vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/lepture/mistune/commit/fe02f40faf091f86da9ed62c865f31e11da111d7
- github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7
- www.vulncheck.com/advisories/mistune-before-3.3.3-denial-of-service-via-balanced-bracket-l
- nvd.nist.gov/vuln/detail/CVE-2026-121438
- cve.org/CVERecord?id=CVE-2026-121438
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.