7.5High
CVE-2026-118694python-markdown2 through 2.5.5 Denial of Service via Unclosed Inline Link Destinations
Description
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 ':
CWE-407
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| python-markdown2 project | python-markdown2 | ≤ 2.5.5 | |
| trentm | python-markdown2 | ≤ 2.5.5 |
References and patches
- GitHub Issue #750 issue-tracking
- https://github.com/trentm/python-markdown2 product
- https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L1478-L1492 technical-description
- https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L3029 technical-description
- https://github.com/trentm/python-markdown2/pull/751 patchissue-tracking
- VulnCheck Advisory: python-markdown2 through 2.5.5 Denial of Service via Unclosed Inline Link Destinations third-party-advisory