CVE-2026-33079: CWE-1333: Inefficient Regular Expression Complexity in lepture mistune
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 Analysis
Technical Summary
Mistune versions 3.0.0a1 through 3.2.0 contain a ReDoS vulnerability in the LINK_TITLE_RE regular expression. This regex includes overlapping alternatives in both double-quoted and single-quoted branches, where a backslash followed by punctuation can ambiguously match as either an escaped punctuation or two separate characters. This ambiguity inside a repeated group leads to catastrophic backtracking when parsing maliciously crafted Markdown inline links or block link reference definitions. The vulnerability allows an unauthenticated attacker who can supply Markdown input to cause denial of service by exhausting CPU resources.
Potential Impact
The vulnerability allows remote attackers to cause denial of service by supplying specially crafted Markdown input that triggers catastrophic backtracking in the regex engine. This results in high CPU usage and can make applications using affected Mistune versions unresponsive. There is no indication of privilege escalation, data disclosure, or code execution from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently provided. Until a patch is available, avoid processing untrusted Markdown input with affected Mistune versions or implement input validation to restrict potentially malicious patterns that could trigger the ReDoS. Monitor vendor channels for updates and apply official fixes once released.
CVE-2026-33079: CWE-1333: Inefficient Regular Expression Complexity in lepture mistune
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-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Mistune versions 3.0.0a1 through 3.2.0 contain a ReDoS vulnerability in the LINK_TITLE_RE regular expression. This regex includes overlapping alternatives in both double-quoted and single-quoted branches, where a backslash followed by punctuation can ambiguously match as either an escaped punctuation or two separate characters. This ambiguity inside a repeated group leads to catastrophic backtracking when parsing maliciously crafted Markdown inline links or block link reference definitions. The vulnerability allows an unauthenticated attacker who can supply Markdown input to cause denial of service by exhausting CPU resources.
Potential Impact
The vulnerability allows remote attackers to cause denial of service by supplying specially crafted Markdown input that triggers catastrophic backtracking in the regex engine. This results in high CPU usage and can make applications using affected Mistune versions unresponsive. There is no indication of privilege escalation, data disclosure, or code execution from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently provided. Until a patch is available, avoid processing untrusted Markdown input with affected Mistune versions or implement input validation to restrict potentially malicious patterns that could trigger the ReDoS. Monitor vendor channels for updates and apply official fixes once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-17T19:27:06.345Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fb7f9ecbff5d8610195779
Added to database: 5/6/2026, 5:51:26 PM
Last enriched: 5/6/2026, 6:06:22 PM
Last updated: 5/7/2026, 7:40:10 AM
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.