CVE-2026-33079lepture mistune
High 8.7 No auth needed
Follow: this CVE · lepture · lepture mistune We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- May 6, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for mistune.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mistune |
≥ 3.0.0a1 < 3.2.1 |
3.2.1 |
pip install "mistune>=3.2.1" |
| PyPI | mistune |
≥ 3.0.0a1 < 3.2.1 |
3.2.1 |
pip install "mistune>=3.2.1" |
Per OSV / GitHub Advisories (GHSA-8mp2-v27r-99xp, PYSEC-2026-2651). Check the version in your lockfile before upgrading.
Affected products
- lepture · mistune
- Red Hat · Red Hat Migration Toolkit for Applications 8.2
- Red Hat · Red Hat OpenShift AI 3.4
- Red Hat · Red Hat OpenShift AI (RHOAI)
- Red Hat · Red Hat Satellite 6
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python311-mistune-3.2.1-1.1 on GA media · SUSE · openSUSE-SU-2026:10761-1 · May 12, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.