CVE-2026-118694

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductTrentm Python-markdown2
PublishedOct 28, 2026
First seenNov 4, 2026
Weakness typeCWE-407CWE-407

How to fix

Affected products

ProductAffected versionsFixed in
trentm python-markdown2v ≤ 2.5.5—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-118694 · Trentm Python-markdown2 · Dark Radar