All reports
High

markdown2: markdown2: Denial of Service via unclosed inline link destinations

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-118694

Probability of exploitation in the next 30 days: 0.45%

FIRST EPSS · 2026-11-20

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.

A flaw was found in markdown2. A remote attacker can cause a Denial of Service (DoS) by submitting specially crafted Markdown content containing repeated unclosed inline link sequences. Processing these malformed links causes the parser to repeatedly rescan the text, exhausting CPU resources and making the service unresponsive.