High severity7.5NVD Advisory· Published Oct 28, 2026
CVE-2026-118694
CVE-2026-118694
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.
Patches
Vulnerability mechanics
References
5- github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.pynvd
- github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.pynvd
- github.com/trentm/python-markdown2/issues/750nvd
- github.com/trentm/python-markdown2/pull/751nvd
- www.vulncheck.com/advisories/python-markdown2-through-2.5.5-denial-of-service-via-unclosed-inline-link-destinationsnvd
News mentions
0No linked articles in our index yet.