Live threats

All CVEs / Mistune Project

CVE-2026-59922Mistune Project Mistune

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jul 8, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-407, CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a run of closed tilde, equals-sign, or caret marker pairs around a character causes quadratic work in src/mistune/plugins/formatting.py when the strikethrough, mark, or insert plugin scans for matching markers from each possible start position, allowing denial of service through CPU exhaustion. This issue is fixed in version 3.3.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mistune.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mistune < 3.3.0 3.3.0 pip install "mistune>=3.3.0"
PyPI mistune < 3.3.0 3.3.0 pip install "mistune>=3.3.0"

Per OSV / GitHub Advisories (GHSA-c8j7-8cv4-2xmq, PYSEC-2026-2210). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mistune_projectmistune< 3.3.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.