#1152830 python-markdown: CVE-2019-25781

#1152830#5
Date:
2026-11-01 20:06:55 UTC
From:
To:
Hi,

The following vulnerability was published for python-markdown.

CVE-2019-25781[0]:
| 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.

https://github.com/Python-Markdown/markdown/issues/798
https://github.com/Python-Markdown/markdown/issues/1654


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2019-25781
https://www.cve.org/CVERecord?id=CVE-2019-25781

Please adjust the affected versions in the BTS as needed.