CVE-2026-49851
published high CVSS 4.0 · 8.7Mistune: Potential DoS via quadratic-time parsing in parse_link_text
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lepture | — | mistune< 3.3.0 | Affected | Not stated | GitHub_M |
| Red Hat | — | rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073866 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073936 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073873 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-16 | python313-mistunenoarch | Advisory build | 3.1.3-160000.4.1 | SUSE-SU-2026:22495-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-mistunenoarch | Advisory build | 3.1.3-160000.4.1 | OPENSUSE-SU-2026:21191-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-mistuneaarch64 | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
Show 33 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073459 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073611 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073451 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073451 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-cpu-torch210-py312-rhel9Red Hat OpenShift AI 3.4 · 1787076778 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-cuda130-torch210-py312-rhel9Red Hat OpenShift AI 3.4 · 1787077779 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-rocm64-torch291-py312-rhel9Red Hat OpenShift AI 3.4 · 1787076481 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Red Hat OpenShift AI 3.4 · 1787074331 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073913 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787074078 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073929 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073605 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073546 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073717 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073713 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073593 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | mta/mta-solution-server-rhel9Migration Toolkit for Applications 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-cpu-torch291-py312-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-cuda130-torch291-py312-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | python-mistuneRed Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | satellite/iop-advisor-engine-rhel9Red Hat Satellite 6 | Unaffected | Not required | redhat-SADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-mistuneppc64le | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-mistunes390x | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-mistunex86_64 | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mistuneaarch64 | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mistuneppc64le | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mistunes390x | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mistunex86_64 | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mistuneaarch64 | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mistuneppc64le | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mistunes390x | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mistunex86_64 | Advisory build | 3.3.2-1.1 | OPENSUSE-SU-2026:11180-1 |
Description
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.
A flaw was found in Mistune, a Python Markdown parser. A remote attacker can exploit this vulnerability by providing a specially crafted Markdown input containing many consecutive bracket characters. This can lead to excessive CPU usage, causing a denial-of-service (DoS) condition on the affected system.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lepture | mistune | < 3.3.0 (affected) | GitHub_M · cna |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073866 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073936 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073873 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073459 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073611 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073451 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073451 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787076778 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787077779 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787076481 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787074331 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073913 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787074078 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073929 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073605 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073546 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073717 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073713 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073593 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Migration Toolkit for Applications 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Satellite 6 | Default: unaffected | redhat-SADP · adp |
Weaknesses
4- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-407 CWE-407: Inefficient Algorithmic Complexity
- CWE-1333 Inefficient Regular Expression Complexity
References
5- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/security/cve/CVE-2026-49851
- RHBZ#2492304 https://bugzilla.redhat.com/show_bug.cgi?id=2492304
- https://github.com/lepture/mistune/security/advisories/GHSA-qcq2-496w-v96p
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49851.json
Provider assertions
3GitHub_M · cna
Mistune: Potential DoS via quadratic-time parsing in parse_link_text
redhat-SADP · adp
Mistune: Mistune: Denial of Service via crafted Markdown input
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 652b6cfc144240e6879024b95db0c560400ec4ea1be5bc147ea658406ca4165f
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record