Skip to content
OpenAdvisories
High · 7.5 CVE-2019-25781 EUVD-2019-20211GHSA-4g9h-pv2v-fw83

Python-Markdown 3.0 through 3.11.2 Denial of Service via Link Bracket Parsing

Published Oct 29, 2026 · Updated Nov 3, 2026 · Assigned by VulnCheck

Description

Python-Markdown 3.0 through 3.11.2 contains an algorithmic complexity vulnerability in inline link parsing that allows remote attackers to exhaust CPU through unmatched brackets. Attackers can submit short Markdown containing repeated [ or ![ characters, forcing LinkInlineProcessor.getText() and getLink() into quadratic scans that keep workers busy for minutes.

Affected products

VendorProductAffectedFixed
Python-Markdown Markdown 3.0 – ≤ 3.11.2 —

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-markdown No fix yet —
Debian 13 python-markdown No fix yet —
Debian 12 python-markdown No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-markdown No fix yet —
Ubuntu 26.04 LTS python-markdown No fix yet —
Ubuntu 24.04 LTS python-markdown No fix yet —
Ubuntu 22.04 LTS python-markdown No fix yet —
Ubuntu 20.04 LTS python-markdown No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 tensorflow +1 No fix yet —

References