CVE-2026-49851

HIGH CVSS 4.0: 8.7 EPSS 0.52%
Updated Oct 26, 2026
Python
Parameter Value
CVSS 8.7 (HIGH)
Fixed In 3.3.0
Type CWE-400 (Uncontrolled Resource Consumption), CWE-407, CWE-770 (Allocation Without Limits), CWE-1333 (Inefficient Regular Expression Complexity / ReDoS)
Vendor Python
Public PoC No

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop.

Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior. An attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload. This vulnerability is fixed in 3.3.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0