PT-2026-38261 · Pypi · Mistune
Published
2026-05-06
·
Updated
2026-05-12
·
CVE-2026-33441
CVSS v4.0
7.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P |
Name of the Vulnerable Software and Affected Versions
mistune versions prior to 3.2.1
Description
A Denial-of-Service (DoS) issue exists in the Mistune Markdown parser. Processing specially crafted reference links can cause excessive backtracking and parsing loops within the
parse link title() function in helpers.py, leading to excessive CPU consumption and application hangs. Remote attackers can exploit this by submitting malicious Markdown to cause service unavailability.Recommendations
Update to version 3.2.1.
As a temporary workaround, consider restricting the use of the
parse link title() function or implementing limits on reference-link title length and parsing depth to minimize the risk of exploitation.Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mistune