Skip to content
OpenAdvisories
High · 7.5 CVE-2026-118694 EUVD-2026-112495GHSA-rgrp-3mvm-5g9j

python-markdown2 through 2.5.5 Denial of Service via Unclosed Inline Link Destinations

Published Oct 28, 2026 · Updated Oct 29, 2026 · Assigned by VulnCheck

Description

python-markdown2 through 2.5.5 contains a denial of service vulnerability that allows remote users to exhaust CPU by submitting Markdown with unclosed inline link destinations. Attackers can submit repeated '[a](' or '![a](' sequences, causing _find_balanced to rescan the remaining document for each link and consume quadratic CPU time.

Affected products

VendorProductAffectedFixed
trentm python-markdown2 ≤ 2.5.5 —

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 python-markdown2 No fix yet —
Debian 13 python-markdown2 No fix yet —
Debian 12 python-markdown2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-markdown2 No fix yet —
Ubuntu 26.04 LTS python-markdown2 No fix yet —
Ubuntu 24.04 LTS python-markdown2 No fix yet —
Ubuntu 22.04 LTS python-markdown2 No fix yet —
Ubuntu 20.04 LTS python-markdown2 No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-markdown2 2.5.5-3.1 openSUSE-SU-2026:12422-1

Advisories 1

References