All vulnerabilities

PyPI

CVE-2026-121438

Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing

Severity
Medium 6.9
Published
3 Nov 2026
Last changed
7 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.3.3
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Uncontrolled resource consumption (CWE-400)
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
mistunePyPI · osv:PyPI:mistune
  • Every version before 3.3.3

About mistune

Weekly downloads (PyPI)
17,178,849PyPI Stats, 24 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-121438