CVE-2026-33079: Mistune Has a ReDoS
Affects mistuneSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 3.2.1 soon.
Data as of 27 Oct 2026, 02:16 UTC
- Patch
- Available – fixed in 3.2.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade mistune to 3.2.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPImistune | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in mistune version 3.2.1 that fixes the ReDoS vulnerability by modifying the LINK_TITLE_RE regex to eliminate overlapping alternatives causing exponential backtracking. Users should upgrade to mistune 3.2.1 or later. No other mitigation is required as the issue is resolved by this official fix.
Description
Mistune versions from 3.0.0a1 up to but not including 3.2.1 contain a Regular Expression Denial of Service (ReDoS) vulnerability in the LINK_TITLE_RE regex used for parsing Markdown link titles. An attacker can craft a small Markdown input (under 100 bytes) with repeated escaped punctuation sequences to cause exponential backtracking in the regex engine, resulting in significant parsing delays (e.g., ~6 seconds for 58 bytes). This affects any application or service that parses user-supplied Markdown using mistune, including web apps, documentation systems, APIs, and Jupyter tooling. The issue is fixed in mistune 3.2.1 by modifying the regex to remove ambiguity in backslash handling, eliminating the exponential backtracking.
References
- github.com/lepture/mistune/security/advisories/GHSA-8mp2-v27r-99xp (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-33079 (opens in a new tab)
- github.com/lepture/mistune (opens in a new tab)
- github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpers.py (opens in a new tab)