home / blog

2026-11-22 · high

CVE-2026-97699: DoS Vulnerability in Mistune Python Parser

CVE-2026-97699: Parsing vulnerability in Mistune causes CPU exhaustion with malformed Markdown input.

CVE-2026-97699: DoS Vulnerability in Mistune Python Parser

The CVE-2026-97699 vulnerability affects the Mistune Python Markdown parser, allowing a malicious input to cause a denial-of-service attack. The issue occurs when the parser processes inline images inefficiently, exploiting a quadratic behavior that consumes CPU resources.

The vulnerability is classified as high severity with a CVSS score of 7.5 and has been fixed in Mistune version 3.3.4. Exploitation signals have been observed on GitHub, where proof-of-concept tests have been published demonstrating the impact of the issue on parser performance.

To defend against this attack, administrators should immediately update all instances of Mistune to version 3.3.4 or later. Additionally, it is recommended to implement filters for untrusted input and to monitor parser performance, especially in systems that process Markdown from external sources.

At a glance

What
Inline image parsing vulnerability in Mistune that allows DoS attack
Severity
High (CVSS 7.5)
Affected versions
< 3.3.4
Fix
Update to version 3.3.4 or later
Status
Fixed
Action
Update to version 3.3.4 or later

Sources: NVD, CVE-2026-97699

← All articles