CVE-2026-76098lepture mistune
High 7.5 No auth needed
Follow: this CVE · lepture · lepture mistune We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Aug 24, 2026
- Updated
- Oct 12, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
What to do
- Apply the vendor's security update for mistune.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mistune |
≥ 3.3.0 < 3.3.3 |
3.3.3 |
pip install "mistune>=3.3.3" |
| PyPI | mistune |
≥ 3.3.0 < 3.3.3 |
3.3.3 |
pip install "mistune>=3.3.3" |
Per OSV / GitHub Advisories (GHSA-6m44-fpc8-c3rq, PYSEC-2026-3863). Check the version in your lockfile before upgrading.
Affected products
- lepture · mistune
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.