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

Published Aug 24, 2026
·
Updated

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.rendertoken() 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

Affected Software

2 affected components
Mistune Mistune>=3.3.0<=3.3.2
Mistune Mistune=3.3.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mistune to a version that resolves this vulnerability.

    Fixed in 3.3.3

Event History

Aug 24, 2026
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this denial-of-service issue?

Applications using Mistune 3.3.0 through 3.3.2 to HTML-render Markdown are exposed when they process attacker-controlled Markdown. An unauthenticated remote attacker can supply crafted input to crash the parsing process.

2

What input is required to trigger the crash?

The attacker needs Markdown containing consecutive asterisk characters that produces deeply nested emphasis tokens. During HTML rendering, recursive token rendering can exceed Python's recursion limit and raise RecursionError.

3

Is upgrading available to remediate the issue?

Yes. The issue is fixed in Mistune version 3.3.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203