All reports
High

mistune: mistune: Denial of Service via unmatched brackets in inline link parser

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-115352

Probability of exploitation in the next 30 days: 0.44%

FIRST EPSS · 2026-11-23

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.

A flaw was found in mistune. This algorithmic complexity vulnerability allows an unauthenticated remote attacker to cause a Denial of Service (DoS) by submitting specially crafted Markdown input containing long sequences of unmatched bracket characters. When parsing this malformed input, the inline link parser consumes excessive CPU resources, rendering processing workers unresponsive.