CVE-2026-76098
HIGH 7.5CVSS 3.1Mistune: Denial of Service — RecursionError via Excessive Emphasis Markers in Markdown
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
- Published
- 24 Aug 2026
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-674
- Also known as
- GHSA-6m44-fpc8-c3rqPYSEC-2026-3863
- Sources
- NVDJSONOSV GHSA-6m44-fpc8-c3rqJSONOSV PYSEC-2026-3863JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | mistune | >= 3.3.0, < 3.3.3 | 3.3.3 |
References
- https://github.com/lepture/mistune/commit/0938fb7
- https://github.com/lepture/mistune/security/advisories/GHSA-6m44-fpc8-c3rq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-76098 · ADVISORY
- https://github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2 · WEB
- https://github.com/lepture/mistune · PACKAGE
- https://github.com/lepture/mistune/releases/tag/v3.3.3 · WEB
- https://pypi.org/project/mistune · PACKAGE
- https://github.com/advisories/GHSA-6m44-fpc8-c3rq · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 24 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Sep 2026)