Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-121438 EUVD-2026-115860GHSA-296h-qmjr-9mv2

Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing

Published Nov 3, 2026 · Updated Nov 7, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
lepture mistune < 3.3.3 3.3.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mistune No fix yet —
Debian 13 mistune No fix yet —
Debian 12 mistune No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mistune No fix yet —
Ubuntu 26.04 LTS mistune No fix yet —
Ubuntu 24.04 LTS mistune No fix yet —
Ubuntu 22.04 LTS mistune No fix yet —
Ubuntu 20.04 LTS mistune No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS mistune No fix yet —
Ubuntu 16.04 LTS mistune No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-mistune 3.4.0-3.1 openSUSE-SU-2026:12476-1

Advisories 1

References