CVE-2026-49851CWE-1333CWE-400CWE-407CWE-770denial-of-service

CVE-2026-49851

High · published June 24, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
49.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00630 · 49.5th percentile
Weaknesses
CWE-1333 · Inefficient Regular Expression Complexity; CWE-400 · Uncontrolled Resource Consumption; CWE-407 · Inefficient Algorithmic Complexity; CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2026-06-24T22:17Z
References (6)
EPSS history
Timeline
  • 24 JUN 17:05Z
    Mistune: Potential DoS via quadratic-time parsing in parse_link_text
    cvelistv5