๐Ÿ” CVE Alert

CVE-2019-25781

HIGH 7.5

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

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-407
Vendor python-markdown
Product markdown
Published Oct 29, 2026
Stay Ahead of the Next One

Get instant alerts for python-markdown markdown

Be the first to know when new high vulnerabilities affecting python-markdown markdown are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

Python-Markdown / Markdown
3.0 โ‰ค 3.11.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Python-Markdown/markdown/issues/798 github.com: https://github.com/Python-Markdown/markdown github.com: https://github.com/Python-Markdown/markdown/issues/1654 github.com: https://github.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown/inlinepatterns.py#L1155-L1172 vulncheck.com: https://www.vulncheck.com/advisories/python-markdown-3.0-through-3.11.2-denial-of-service-via-link-bracket-parsing

Credits

Anders Kaseorg Muhammadyusuf Dilmurodov (agrresore)