CVE Catalog

CVE-2026-59927

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

23th percentile - higher than 23% of all known CVEs

Summary

A vulnerability in the Mistune Python Markdown parser before version 3.3.0 allows unbounded recursion via two Markdown files that include each other. This triggers a RecursionError and crashes the rendering process.

Risk Assessment

An attacker can deliberately provide two mutually referencing Markdown files, causing a denial of service (DoS) by crashing the application that uses Mistune for content rendering.

Recommendation

Immediately upgrade Mistune to version 3.3.0 or later, which includes a fix to detect cyclic includes.

Other vulnerabilities in Mistune

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS