Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M

CVE-2026-59925inline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairs

High 7.5

In plain English

A high-severity regular-expression denial of service in mistune from lepture. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 48.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Mistune 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13mistuneno fix listedDEBIAN-CVE-2026-59925
Debian:14mistuneno fix listedDEBIAN-CVE-2026-59925
PyPImistune3.3.0GHSA-4j32-57v6-6g45
PyPImistune3.3.0PYSEC-2026-2213
Ubuntu:22.04:LTSmistuneno fix listedUBUNTU-CVE-2026-59925
Ubuntu:24.04:LTSmistuneno fix listedUBUNTU-CVE-2026-59925
Ubuntu:25.10mistuneno fix listedUBUNTU-CVE-2026-59925
Ubuntu:26.04:LTSmistuneno fix listedUBUNTU-CVE-2026-59925
Ubuntu:26.10mistuneno fix listedUBUNTU-CVE-2026-59925

Affected products (as reported)

VendorProductVersions
lepture mistune < 3.3.0

Weakness: CWE-407, CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References