Affected versions
Ubuntu16.04:LTS/mistune
- Affected versions
- * || =0.6-2 || =0.7.1-1
- Fixed version
- Not reported
Ubuntu18.04:LTS/mistune
- Affected versions
- * || =0.7.4-1 || =0.8-1 || =0.8.1-1 || =0.8.3-2
- Fixed version
- Not reported
Ubuntu20.04:LTS/mistune
- Affected versions
- * || =0.8.4-1 || =0.8.4-2
- Fixed version
- Not reported
Ubuntu22.04:LTS/mistune
- Affected versions
- * || =0.8.4-4 || =0.8.4-5 || =2.0.0-1+really0.8.4-1
- Fixed version
- Not reported
Ubuntu24.04:LTS/mistune
- Affected versions
- * || =2.0.4-2 || =3.0.2-1
- Fixed version
- Not reported
Ubuntu26.04:LTS/mistune
- Affected versions
- * || =3.1.3-1 || =3.1.4-1
- Fixed version
- Not reported
Ubuntu26.10/mistune
- Affected versions
- * || =3.1.4-1
- Fixed version
- Not reported
Description
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
Links
- https://github.com/cveproject/cvelistv5/tree/main/cves/2026/76xxx/cve-2026-76098.json
- https://github.com/lepture/mistune/commit/0938fb7
- https://github.com/lepture/mistune/security/advisories/ghsa-6m44-fpc8-c3rq
- https://nvd.nist.gov/vuln/detail/cve-2026-76098
- https://ubuntu.com/security/CVE-2026-76098
- https://www.cve.org/CVERecord?id=CVE-2026-76098

