CVE-2026-97698

7.5High

Published 17 Nov 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-400, CWE-407

What an attacker gets

Unauthenticated attackers can trigger a denial-of-service by consuming 100% CPU on your application server. They only need to submit a specially crafted Markdown string to an endpoint that parses user input.

Root cause

The parser performs an unbounded, quadratic-time scan for parenthesis-balancing when encountering empty link labels.

Affected versions

Mistune versions prior to 3.3.4

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Fix & remediation

Upgrade to Mistune 3.3.4 or later. If you cannot patch immediately, implement strict input length limits or timeouts on your Markdown parsing service.

remediation — bash
$ pip install --upgrade mistune

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.4, parse_link_href performs an unbounded parenthesis-balancing scan to the end of the document for each unmatched opening parenthesis reached through an empty [] link label. In src/mistune/helpers.py and src/mistune/inline_parser.py, the empty label bypasses no_close_bracket_before, and no_link_before advances only past the short label, so successive [] ( candidates repeatedly scan the remaining document. Rendering untrusted Markdown with the default HTML renderer and no plugins can perform quadratic CPU work and keep a worker at 100 percent utilization. This issue is fixed in version 3.3.4.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-97698