Skip to main content
← All vulnerabilities
CVE-2026-59928GHSA-FFQ3-XPV3-J92QPYSEC-2026-2216

Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitions

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

Summary

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a Markdown document containing many repeated or distinct reference-link definitions causes quadratic work in src/mistune/block_parser.py and the ref_links environment dictionary handling, allowing denial of service through CPU exhaustion. This issue is fixed in version 3.3.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • lepture mistune

    fixed in 3.3.0

  • mistunePyPI

    fixed in 3.3.0

References 3

GitHub · lepture/mistune