home / blog
2026-11-22 · high
CVE-2026-97698: High Severity in Mistune
High CVSS 7.5 vulnerability in Mistune causing DoS through unbounded parenthesis scanning. Patch in version 3.3.4.

CVE-2026-97698 is a Denial of Service vulnerability identified in the Python Markdown parser Mistune. The issue resides in the parse_link_href function that performs an unbounded parenthesis-balancing scan to the end of the document for each unmatched opening parenthesis, causing excessive CPU resource consumption.
Severity is classified as high with CVSS score 7.5. The issue has been verified and patched in Mistune version 3.3.4. Community signals, including tests on GitHub, confirm the concrete impact of the vulnerability with significant performance differences between vulnerable and patched versions.
To defend against this vulnerability, administrators should immediately apply the update to Mistune version 3.3.4. It is also recommended to implement limits on the size and complexity of Markdown documents processed, and to monitor CPU consumption in systems using Mistune to detect exploitation attempts.
At a glance
- What
- Vulnerability in parse_link_href function that performs unbounded scans causing CPU exhaustion
- Severity
- High (CVSS 7.5)
- Affected versions
- All versions prior to 3.3.4
- Fix
- Update to version 3.3.4
- Status
- Patched (version 3.3.4)
- Action
- Immediately apply patch 3.3.4
Sources: NVD, CVE-2026-97698