Source: python-markdown2
X-Debbugs-CC: [email protected]
Severity: important
Tags: security

Hi,

The following vulnerability was published for python-markdown2.

CVE-2026-118694[0]:
| python-markdown2 through 2.5.5 contains a denial of service
| vulnerability that allows remote users to exhaust CPU by submitting
| Markdown with unclosed inline link destinations. Attackers can
| submit repeated '[a](' or '![a](' sequences, causing _find_balanced
| to rescan the remaining document for each link and consume quadratic
| CPU time.

https://github.com/trentm/python-markdown2/issues/750
https://github.com/trentm/python-markdown2/pull/751

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-2026-118694
    https://www.cve.org/CVERecord?id=CVE-2026-118694

Please adjust the affected versions in the BTS as needed.

Reply via email to