inline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairs
cve-program · CVE-2026-59925
PublishedMistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, long sequences of well-formed double-asterisk or triple-asterisk emphasis pairs around a character cause quadratic work in src/mistune/inline_parser.py because the parser scans forward for matching close markers from every potential opening run, allowing denial of service in default Mistune parsing. This issue is fixed in version 3.3.0.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-59925 · CVE overview and exploitation status
cve-program · CVE-2026-59925
Related changes
Linked by CVE identifierNo related changes are available here.