All vulnerabilities

PyPI

CVE-2026-121437

Mistune 3.3.0 before 3.3.4 Quadratic-Time DoS via _process_emphasis_delimiters

Severity
High 8.7
Published
3 Nov 2026
Last changed
3 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.3.4
Exploit chance
0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

Mistune from 3.3.0 before 3.3.4 contains a denial of service vulnerability that allows remote attackers to exhaust CPU through quadratic-time emphasis delimiter processing. Attackers can submit small markdown documents with repeated patterns like "*a_b" to trigger an O(n²) index-fixup loop, stalling workers for seconds.

From the CVE Program.

Affected software

SoftwareAffected versions
mistunePyPI · osv:PyPI:mistune
  • From 3.3.0 before 3.3.4

About mistune

Weekly downloads (PyPI)
17,178,849PyPI Stats, 24 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-121437