Mistune has Denial of Service — RecursionError via Excessive Emphasis Markers in Markdown
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 3 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-674.
Summary
Mistune is a Python Markdown parser with renderers and plugins. Versions 3.3.0 through 3.3.2 are vulnerable to DoS through deeply nested tokens. HTML rendering creates deeply nested emphasis tokens from consecutive asterisk characters, and recursive rendering in HTMLRenderer.render_token() can exceed Python's recursion limit and raise RecursionError, allowing crafted Markdown to crash a parsing process. This issue is fixed in version 3.3.3
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| lepture | mistune | 3.3.0 to before 3.3.3 | 3.3.3 | Patch available | CNA |
| — | mistune (PyPI) | 3.3.0 to before 3.3.3 | 3.3.3 | Patch available | GHSA-6m44-fpc8-c3rq |
- mistune Vendorlepture Affected 3.3.0 to before 3.3.3 Fixed in 3.3.3 Patch available CNA
- mistune (PyPI) Vendor— Affected 3.3.0 to before 3.3.3 Fixed in 3.3.3 Patch available GHSA-6m44-fpc8-c3rq
Remediation
- Fix · CNA mistune (lepture) Fixed in 3.3.3
- Fix · GHSA-6m44-fpc8-c3rq mistune (PyPI) Fixed in 3.3.3 Advisory →
Red Hat 3 advisories
- RHSA-2026:87410 Released 2026-10-21 · Red Hat rating CriticalRHOAI 2.25.12 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-caikit-nlp-rhel9, registry.redhat.io/rhoai/odh-codeflare-operator-rhel9 +47
- RHSA-2026:86891 Released 2026-10-21 · Red Hat rating CriticalRHOAI 3.5.2 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9 +47
- RHSA-2026:84734 Released 2026-10-19 · Red Hat rating CriticalRHOAI 3.4.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat OpenShift AI 2.25 | Fixed | RHSA-2026:87410 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:84734 |
| Red Hat OpenShift AI 3.5 | Fixed | RHSA-2026:86891 |
Not affected: 5 products
- Migration Toolkit for Applications 8
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift AI 3.5
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-76098
- 2026-10-03 Alias added: GHSA-6m44-fpc8-c3rq
- 2026-10-13 Affected versions changed · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
- 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:86891 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:87410 · Red Hat
- 2026-10-23 Fix available: Red Hat OpenShift AI 2.25, Red Hat OpenShift AI 3.5 · Red Hat
References
Other 5
More lepture vulnerabilities
- TI-2026-79440 Path traversal in Mistune include directive lets attackers read files CVSS 4.0CRITICAL 9.2
- TI-2026-36755 Mistune: Potential DoS via quadratic-time parsing in parse_link_text CVSS 4.0HIGH 8.7
- TI-2026-25521 Mistune ReDoS in LINK_TITLE_RE allows denial of service with crafted Markdown titles CVSS 4.0HIGH 8.7
- TI-2026-42736 Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitions CVSS 3.1HIGH 7.5
- TI-2026-42730 Regular expression denial of service in lepture mistune CVSS 3.1HIGH 7.5
- TI-2026-84319 Quadratic-time denial of service in Mistune emphasis processing CVSS 4.0HIGH 8.7
Sources
- CVE-2026-76098 · CVE Program
- CVE-2026-76098 · NVD
- FIRST EPSS
- GHSA-6m44-fpc8-c3rq · GitHub Advisory Database · CC BY 4.0
- CVE-2026-76098 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences