CVE-2026-59927

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the Include directive in src/mistune/directives/include.py detects only direct self-includes and not indirect cycles, allowing two markdown files that include each other to trigger unbounded recursion, raise RecursionError, and crash the rendering request. This issue is fixed in version 3.3.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*

History

09 Jul 2026, 19:30

Type Values Removed Values Added
CPE cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*
References () https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993 - () https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993 - Patch
References () https://github.com/lepture/mistune/releases/tag/v3.3.0 - () https://github.com/lepture/mistune/releases/tag/v3.3.0 - Release Notes
References () https://github.com/lepture/mistune/security/advisories/GHSA-8mpj-m6qm-5qr8 - () https://github.com/lepture/mistune/security/advisories/GHSA-8mpj-m6qm-5qr8 - Exploit, Third Party Advisory
First Time Mistune Project
Mistune Project mistune

08 Jul 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-08 17:17

Updated : 2026-07-09 19:30


NVD link : CVE-2026-59927

Mitre link : CVE-2026-59927

CVE.ORG link : CVE-2026-59927


JSON object : View

Products Affected

mistune_project

  • mistune
CWE
CWE-674

Uncontrolled Recursion

CWE-755

Improper Handling of Exceptional Conditions