Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mistune
  4. ›
  5. CVE-2026-76098

CVE-2026-76098: Mistune: Denial of Service — RecursionError via Excessive Emphasis Markers in Markdown

September 2, 2026

Mistune v3.3.2 is vulnerable to a Denial of Service (DoS) attack via uncontrolled recursion in the HTML rendering of deeply-nested emphasis tokens. By submitting Markdown containing approximately 1,000 consecutive asterisk characters, an attacker causes the Python process to crash with RecursionError.

References

  • github.com/advisories/GHSA-6m44-fpc8-c3rq
  • github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2
  • github.com/lepture/mistune/releases/tag/v3.3.3
  • github.com/lepture/mistune/security/advisories/GHSA-6m44-fpc8-c3rq
  • nvd.nist.gov/vuln/detail/CVE-2026-76098

Code Behaviors & Features

Detect and mitigate CVE-2026-76098 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.3.0 before 3.3.3

Fixed versions

  • 3.3.3

Solution

Upgrade to version 3.3.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

pypi/mistune/CVE-2026-76098.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:01 +0000.