CVE-2026-33079
Mistune ReDoS in LINK_TITLE_RE allows denial of service with crafted Markdown titles
Also known as GHSA-8mp2-v27r-99xp, PYSEC-2026-2651
Mitigation
- Upgrade mistune to 3.2.1 or later.
Who should check
- Projects that depend on PyPI package mistune (>= 3.0.0a1, < 3.2.1)
- Anyone running lepture mistune >=3.0.0a1, <= 3.2.0
Vulnerability facts
- Affected
- mistune >= 3.0.0a1, < 3.2.1
- Fixed in
- 3.2.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.70% chance of exploitation in 30 days (percentile 49, 2026-11-26)
- CWE
- CWE-1333
- Modified
Description
In versions 3.0.0a1 through 3.2.0 of Mistune, there is a ReDoS (Regular Expression Denial of Service) vulnerability in `LINK_TITLE_RE` that allows an attacker who can supply Markdown for parsing to cause denial of service. The regular expression used for parsing link titles contains overlapping alternatives that can trigger catastrophic backtracking. In both the double-quoted and single-quoted branches, a backslash followed by punctuation can be matched either as an escaped punctuation sequence or as two ordinary characters, creating an ambiguous pattern inside a repeated group. If an attacker supplies Markdown containing repeated ! sequences with no closing quote, the regex engine explores an exponential number of backtracking paths. This is reachable through normal Markdown parsing of inline links and block link reference definitions. A small crafted input can therefore cause significant CPU consumption and make applications using Mistune unresponsive.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-33079. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-33079.md Affected: mistune >= 3.0.0a1, < 3.2.1 Fixed in: 3.2.1 Steps: 1. Search this machine and project for mistune (PyPI), lepture mistune: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpers.py#L20-L25
- https://access.redhat.com/security/cve/CVE-2026-33079
- https://bugzilla.redhat.com/show_bug.cgi?id=2467298
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33079.json
- https://github.com/lepture/mistune
- https://pypi.org/project/mistune
FAQ
Is CVE-2026-33079 being exploited?
There is no confirmed exploitation: CVE-2026-33079 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-33079?
High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-33079?
mistune >= 3.0.0a1, < 3.2.1.
Is there a fix for CVE-2026-33079?
Yes. Fixed in 3.2.1. Upgrade mistune to 3.2.1 or later.
How do I check if I'm affected by CVE-2026-33079?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.