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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 5.3
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS probability
- 0.53%
- CWE
- CWE-674, CWE-755
- Published
- 2026-07-08
- Last modified
- 2026-07-08
Affected products
- lepture mistune
Weakness type
Related vulnerabilities
- CVE-2026-88763 — Skupper-router: skupper-router: unbounded recursion in amqp field parser leads to denial of service
- CVE-2026-22591 — Fast DDS DDSSQLFilter Recursive Parser Stack Exhaustion (Remote DoS)
- CVE-2026-19201 — Denial of Service via Unbounded Recursion in go-attestation Windows SIPA Parser
- CVE-2026-69378 — Microsoft Exchange Server Denial of Service Vulnerability
- CVE-2026-73321 — XenForo < 2.3.13 Uncontrolled Recursion DoS via BBCode Parser
- CVE-2026-11573 — Uncontrolled recursion in QDomDocument/QDomNode serialization causes stack exhaustion (QtXml)
- CVE-2026-17440 — IBM App Connect Enterprise and IBM Integration Bus for z/OS Adapter nodes are vulnerable to multiple CVEs
- CVE-2026-77465 — toml-node: Uncontrolled Recursion