Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-91047.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-91047
Upstream
Published
2026-06-24T18:17:18Z
Modified
2026-08-28T17:48:11Z
Summary
CVE-2026-49851 affecting package python-mistune for versions less than 3.3.0-1
Details

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.

References

Affected packages

Azure Linux:3 / python-mistune

Package

Name
python-mistune
Purl
pkg:rpm/azure-linux/python-mistune

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.3.0-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-91047.json"