CVE-2026-33079 Details
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.
A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in the Mistune Markdown parser, specifically in versions 3.0.0a1 through 3.2.0. The issue arises within the 'LINK_TITLE_RE' regular expression, which is used to parse link titles in Markdown. The vulnerability allows an attacker to cause a denial-of-service condition by supplying crafted Markdown that exploits overlapping alternatives in the regex, leading to catastrophic backtracking. This backtracking can be triggered through normal Markdown parsing of inline links and block link reference definitions, causing significant CPU consumption and unresponsiveness in applications using Mistune.
To address this vulnerability, the backslash character should be excluded from the catch-all character class in the 'LINK_TITLE_RE' regex. This modification eliminates the overlap by ensuring that a backslash can only be interpreted as an escape for punctuation, removing the ambiguity that leads to catastrophic backtracking.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 6, 2026CISA-ADP
Assessed May 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:43038 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:60520 | redhat-SADP | |
| https://access.redhat.com/security/cve/CVE-2026-33079 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2467298 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33079.json | redhat-SADP | |
| https://github.com/lepture/mistune/security/advisories/GHSA-8mp2-v27r-99xp | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpers.py#L20-L25 | [email protected] | Source CodeVendor |
| https://github.com/lepture/mistune/security/advisories/GHSA-8mp2-v27r-99xp | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | redhat-SADP |
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lepture mistune | >= 3.0.0a1, <= 3.2.0 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 28, 2026 | CVE Modified | redhat-SADP |
| Aug 28, 2026 | CVE Modified | CISA-ADP |
| Aug 28, 2026 | CVE Modified | [email protected] |
| Jul 22, 2026 | CVE Modified | redhat-SADP |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 1, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 6, 2026 | CVE Modified | CISA-ADP |
| May 6, 2026 | New CVE Received | [email protected] |
Volerion