Python Markdown Parser Vulnerability in Mistune by Lepture
CVE-2026-97698

7.5HIGH

Key Information:

Vendor

Lepture

Status
Vendor
CVE Published:
17 November 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-97698?

The Mistune Python Markdown parser is susceptible to a performance issue where the parse_link_href function conducts unbounded parenthesis-balancing scans for unmatched opening parentheses linked to empty [] link labels. This flaw results in quadratic CPU workload, causing severe performance degradation by keeping a worker at maximum utilization when rendering untrusted Markdown. The problem has been resolved in Mistune version 3.3.4, which is critical for users to implement to ensure optimal performance and security while utilizing the default HTML renderer without plugins.

Affected Version(s)

mistune < 3.3.4

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.