5.3Medium

CVE-2026-121438Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing

lepture mistune Published: (16 days ago)

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.

Weakness (CWE): CWE-400

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
lepture mistune < 3.3.3, fixed 3.3.3
mistune project mistune < 3.3.3

References and patches