[ CVE-2026-118694 · Published 28 Oct 2026 ]
Vulnerability in trentm python-markdown2
CVSS 7.5
EPSS <1%No fix listed yet
[ Description ]Official 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 '![a](' sequences, causing _find_balanced to rescan the remaining document for each link and consume quadratic CPU time.
[ Fixes ]Fixes and patches
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- github.com/trentm/python-markdown2
- github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py
- github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py
- github.com/trentm/python-markdown2/issues/750
- github.com/trentm/python-markdown2/pull/751
- www.vulncheck.com/advisories/python-markdown2-through-2.5.5-denial-of-service-via-unclo…