Skip to main content
← All vulnerabilities
CVE-2026-118694EUVD-2026-112495GHSA-RGRP-3MVM-5G9J

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

The python-markdown2 library (a Python Markdown-to-HTML converter) is affected. A remote attacker can submit specially crafted Markdown containing many unclosed inline link openings, causing the software to consume excessive CPU time and potentially become unresponsive, resulting in a denial of service.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • trentm python-markdown2

    through 2.5.5

References 6

GitHub · trentm/python-markdown2

vulncheck.com