Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 58%

CVE-2026-33079: CWE-1333: Inefficient Regular Expression Complexity in lepture mistune

0
High
VulnerabilityCVE-2026-33079cvecve-2026-33079cwe-1333
Published: 05/06/2026 (05/06/2026, 17:25:09 UTC)
Source: CVE Database V5
Vendor/Project: lepture
Product: 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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

mistune
pkg:pypi/mistune

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 21:54:06 UTC

Technical Analysis

CVE-2026-33079 is a ReDoS vulnerability in the Mistune Markdown parser affecting versions 3.0.0a1 through 3.2.0. The issue is in the LINK_TITLE_RE regular expression, which contains overlapping alternatives allowing ambiguous matching of backslash-punctuation sequences. This ambiguity inside a repeated group leads to catastrophic backtracking when parsing specially crafted Markdown inputs, such as repeated exclamation marks without a closing quote. This vulnerability can be exploited by an unauthenticated attacker supplying Markdown content to cause denial of service by exhausting CPU resources.

Potential Impact

The vulnerability allows remote attackers to cause denial of service by supplying crafted Markdown input that triggers exponential backtracking in the vulnerable regex. This results in high CPU usage and unresponsiveness in applications using affected Mistune versions. There is no indication of privilege escalation, data disclosure, or other impacts beyond denial of service.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory linked does not explicitly confirm a fix or provide a patch for Mistune itself. Users should monitor the vendor advisory for updates and consider mitigating exposure by restricting untrusted Markdown input or applying any official patches once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-33079","vendor":"Red Hat"}]

Threat ID: 69fb7f9ecbff5d8610195779

Added to database: 05/06/2026, 17:51:26 UTC

Last enriched: 07/22/2026, 21:54:06 UTC

Last updated: 08/18/2026, 10:54:23 UTC

Views: 232

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses