cve.bz

CVE-2026-76098 lepture mistune: Uncontrolled Recursion

7.5 highEPSS 0.5%Fix available

High (7.5) in lepture mistune. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in mistune 3.3.3.

On this page
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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-76098 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-76098?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-76098?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-76098 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
lepture mistune>= 3.3.0, < 3.3.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6m44-fpc8-c3rqPyPImistune>=3.3.0 <3.3.33.3.3
PYSEC-2026-3863PyPImistune>=3.3.0 <3.3.33.3.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14mistuneno fix listedDEBIAN-CVE-2026-76098
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 moremistuneno fix listedUBUNTU-CVE-2026-76098
Azure Linux3python-mistune3.3.4-1AZL-97956

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw in the Mistune Python Markdown parser can lead to a denial of service in Red Hat OpenShift AI and Migration Toolkit for Applications. By submitting specially crafted Markdown input with excessive emphasis markers, an attacker can trigger deep recursion, causing the parsing process to crash and disrupt service availability.

Red Hat's mitigation

Mitigation for this issue involves restricting the processing of untrusted Markdown content by applications utilizing the vulnerable Mistune library. If applications are exposed to untrusted input, implement input sanitization to prevent deeply nested emphasis structures that could trigger the denial of service.

ProductPackageStateAdvisory
Red Hat OpenShift AI 2.25rhoai/odh-feature-server-rhel9:1792148523Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1791315854Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9:1791393968Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1791902759Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1791867208Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1791867137Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1791902535Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1791867196Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1791869442Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1791870787Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1791867222Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1791903144Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1791867191Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1791867189Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1791867238Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1791867244Fixed 2026-10-21RHSA-2026:87410
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch291-py312-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cuda130-torch291-py312-rhel9Affected
Red Hat OpenShift Container Platform 4python-mistuneNot affected
44 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-76098.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON