{"id":"CVE-2026-76098","published":"2026-08-24T20:05:00Z","modified":"2026-08-24T20:17:07Z","title":"Mistune has Denial of Service — RecursionError via Excessive Emphasis Markers in Markdown","vendor":"lepture","product":"mistune","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00488,"percentile":0.42905,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-6m44-fpc8-c3rq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lepture/mistune/commit/0938fb7","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":8.58},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"lepture","affectedVersions":[{"vendor":"lepture","product":"mistune","versions":[">= 3.3.0, < 3.3.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-24T20:16:30.617465Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mistune","vulnerableRanges":[">=3.3.0, <3.3.3"],"patched":["3.3.3"],"from":["GHSA-6m44-fpc8-c3rq","PYSEC-2026-3863"],"provenance":"source"}],"summary":{"text":"The flaw is in Mistune, a Python Markdown parser from lepture, specifically in the HTML rendering path, where recursive rendering in HTMLRenderer.render_token() becomes unbounded on deeply nested emphasis tokens created from consecutive asterisk characters. An attacker who can supply crafted Markdown to the parser, with no authentication or user interaction required, can exhaust Python's recursion limit and crash the parsing process, causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:12Z"},"euvd":{"id":"EUVD-2026-65137","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lepture-mistune-cve-2026-76098","children":[{"from":"CVE-2026-76098","to":"CVE-2026-97698","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mistune","fromFixed":"3.3.3","toFixed":"3.3.4","daysApart":85},{"kind":"same-code","provenance":"machine","files":["src/mistune/inline_parser.py"],"commits":["https://github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2","https://github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2","https://github.com/lepture/mistune/commit/b4dd3284e52ec741ed9a227db29ade9017828e90"],"basis":"shared function","functions":["_Delimiter","_process_emphasis_delimiters"]}]},{"from":"CVE-2026-76098","to":"CVE-2026-97699","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mistune","fromFixed":"3.3.3","toFixed":"3.3.4","daysApart":85},{"kind":"same-code","provenance":"machine","files":["src/mistune/inline_parser.py"],"commits":["https://github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2","https://github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2","https://github.com/lepture/mistune/commit/b4dd3284e52ec741ed9a227db29ade9017828e90"],"basis":"shared function","functions":["_Delimiter","_process_emphasis_delimiters"]}]},{"from":"CVE-2026-76098","to":"CVE-2026-121437","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/mistune/inline_parser.py"],"commits":["https://github.com/lepture/mistune/commit/b4dd3284e52ec741ed9a227db29ade9017828e90","https://github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2","https://github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2"],"basis":"shared function","functions":["_Delimiter","_process_emphasis_delimiters"]}]}],"packageHistory":[{"cve":"CVE-2026-59928","published":"2026-07-08","fixed":"3.3.0","kev":false},{"cve":"CVE-2026-59929","published":"2026-07-08","fixed":"3.3.0","kev":false},{"cve":"CVE-2026-59930","published":"2026-07-08","fixed":"3.3.0","kev":false},{"cve":"CVE-2026-76098","published":"2026-08-24","fixed":"3.3.3","kev":false},{"cve":"CVE-2026-97698","published":"2026-11-17","fixed":"3.3.4","kev":false},{"cve":"CVE-2026-97699","published":"2026-11-17","fixed":"3.3.4","kev":false}],"package":"PyPI:mistune"}}