CVE-2026-49851
Fixed in a distro release EPSS <1%CVSS 8.7
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.
Products: lepture mistune, Red Hat OpenShift AI 3.4, Red Hat Migration Toolkit for Applications 8, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4, Red Hat Satellite 6
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | mistune | 3.3.0 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | jupyter-base-notebook | 7.6.0-r1 |
| Chainguard | kubeflow-pipelines-visualization-server | 2.16.1-r8 |
| Chainguard | tensorflow-cpu-jupyter | 2.21.0-r7 |
| Debian 13 | mistune | no fix |
| Debian 14 | mistune | no fix |
| SUSE Linux Enterprise Server 16.0 | python-mistune | 3.1.3-160000.4.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | python-mistune | 3.1.3-160000.4.1 |
| Ubuntu 16.04 LTS | mistune | no fix |
| Ubuntu 18.04 LTS | mistune | no fix |
| Ubuntu 20.04 LTS | mistune | no fix |
| Ubuntu 22.04 LTS | mistune | no fix |
| Ubuntu 24.04 LTS | mistune | no fix |
| Ubuntu 25.10 | mistune | no fix |
| Ubuntu 26.04 LTS | mistune | no fix |
| Ubuntu 26.10 | mistune | no fix |
| Wolfi | jupyter-base-notebook | 7.6.0-r1 |
| Wolfi | kubeflow-pipelines-visualization-server | 2.16.1-r8 |
| Wolfi | tensorflow-cpu-jupyter | 2.21.0-r7 |
| openSUSE Leap 16.0 | python-mistune | 3.1.3-160000.4.1 |
| openSUSE Tumbleweed | python-mistune | 3.3.2-1.1 |