All vulnerabilities

PyPI

CVE-2019-25781

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

Severity
High 8.7
Published
29 Oct 2026
Last changed
3 Nov 2026
Added to UpHeron
23 Nov 2026
Exploit chance
0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
markdownPyPI · osv:PyPI:markdown
  • From 3.0 up to 3.11.2

About markdown

Weekly downloads (PyPI)
29,384,923PyPI Stats, 24 Nov 2026

This is the only vulnerability in markdown in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2019-25781