DoS Vulnerability in Mistune Python Markdown Parser
CVE-2026-59922
7.5HIGH
What is CVE-2026-59922?
The Mistune Python Markdown parser, prior to version 3.3.0, is susceptible to a denial of service attack. When processing runs with specific pairs of markers (closed tilde, equals-sign, or caret), the parser can perform quadratic work due to inefficient scanning for matching markers. This can lead to significant CPU exhaustion, potentially crippling the performance of applications using this library. Users are urged to upgrade to version 3.3.0 or later to mitigate this issue.
Affected Version(s)
mistune < 3.3.0
