CVE-2019-25781 Python-Markdown 3.0 through 3.11.2 Denial of Service via Link Bracket Parsing
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2019-25781?
CVE-2019-25781 is a high-severity vulnerability in Python-Markdown Markdown, published on 29 Oct 2026.
Official 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.
Weakness: CWE-407
Which versions are affected by CVE-2019-25781?
How do I fix CVE-2019-25781?
No fix has been published for CVE-2019-25781 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-25781 being exploited?
There is no known exploitation of CVE-2019-25781 in the wild and no public exploit code.
Sources
Also known as GHSA-4g9h-pv2v-fw83.