PT-2026-52033 · Pypi · Mistune

·

CVE-2026-49851

·

Published

2026-06-24

·

Updated

2026-07-13

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Mistune versions prior to 3.3.0
Description A CPU exhaustion Denial of Service (DoS) occurs due to superlinear (approximately O(n²)) behavior in the parse link text() function. When processing Markdown containing numerous consecutive [ characters, the function repeatedly scans the input using a regex search within a loop, re-scanning large portions of the remaining string in each iteration. This quadratic-time behavior allows an attacker to trigger excessive CPU usage using a small payload.
Recommendations Update to version 3.3.0.

Exploit

Fix

DoS

Allocation of Resources Without Limits

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-91047
CVE-2026-49851
ECHO-2259-D6C1-3019
GHSA-QCQ2-496W-V96P
OPENSUSE-SU-2026:11180-1
OPENSUSE-SU-2026:21191-1
PYSEC-2026-2652
SUSE-SU-2026:22495-1

Affected Products

Mistune