CVE-2026-33079
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mistunePyPI | >= 3.0.0a1, < 3.2.1 | 3.2.1 |
Affected products
6- osv-coords5 versionspkg:apk/chainguard/datahub-ingestion-fipspkg:apk/chainguard/kubeflow-pipelines-visualization-serverpkg:apk/wolfi/kubeflow-pipelines-visualization-serverpkg:pypi/mistunepkg:rpm/opensuse/python-mistune&distro=openSUSE%20Tumbleweed
< 1.5.0.1-r2+ 4 more
- (no CPE)range: < 1.5.0.1-r2
- (no CPE)range: < 2.16.1-r2
- (no CPE)range: < 2.16.1-r2
- (no CPE)range: >= 3.0.0a1, < 3.2.1
- (no CPE)range: < 3.2.1-1.1
Patches
Vulnerability mechanics
References
4News mentions
1- Patch Tuesday - May 2026Rapid7 Blog · May 13, 2026