7.5High

CVE-2026-115352Mistune before 3.3.0 Quadratic-Time DoS via Unmatched Brackets in Inline Parser

lepture mistune Published: (27 days ago)

Description

Mistune before 3.3.0 contains an algorithmic complexity vulnerability in the inline link parser that allows unauthenticated attackers to exhaust CPU by submitting long runs of unmatched '[' characters. Attackers can send small markdown payloads that trigger O(N^2) parse_link_text and parse_link_label probing, occupying rendering workers for 30+ seconds per 16 KB input.

Weakness (CWE): CWE-407

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.0, fixed 3.3.0
mistune project mistune < 3.3.0

References and patches