ADVISORIES

Vulnerability

CVE-2026-97699

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.4, inline image parsing sends nested ![ openers through precedence_scan because the no_link_before and _label_contains_link linearization guards are gated by not is_image. In src/mistune/inline_parser.py, each outer image opener can therefore search the remaining image body, while max_image_depth does not apply because the failed scans do not produce image tokens. 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.

7 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • CGA-463p-v2gc-q7vj
    CVE-2026-97699 Chainguard Updated 20 November 2026
  • CGA-c6qf-9m5c-hfp3
    CVE-2026-97699 Chainguard Updated 20 November 2026
  • CGA-hqf9-wccw-2j95
    CVE-2026-97699 Chainguard Updated 20 November 2026
  • CGA-w4h8-xc2f-q3m2
    CVE-2026-97699 Chainguard Updated 20 November 2026
  • DEBIAN-CVE-2026-97699

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.4, inline image parsing sends nested ![ openers through precedence_scan because the no_link_before and _label_contains_link linearization…

    CVE-2026-97699 Debian Updated 18 November 2026
  • GHSA-ww7q-mxrj-5ffg

    Mistune: Quadratic-time DoS in inline image parsing (precedence_scan) bypasses not-is-image guards

    High CVE-2026-97699 PyPI Updated 19 November 2026
  • UBUNTU-CVE-2026-97699

    (Mistune is a Python Markdown parser with renderers and plugins. Prior ...)

    CVE-2026-97699 Ubuntu Updated 19 November 2026

References