All vulnerabilities

PyPI

CVE-2026-118694

python-markdown2 through 2.5.5 Denial of Service via Unclosed Inline Link Destinations

Severity
High 8.7
Published
28 Oct 2026
Last changed
29 Oct 2026
Added to UpHeron
23 Nov 2026
Exploit chance
0.5% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
markdown2PyPI · osv:PyPI:markdown2
  • Every version up to 2.5.5

About markdown2

Weekly downloads (PyPI)
1,881,856PyPI Stats, 24 Nov 2026

This is the only vulnerability in markdown2 in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-118694