Skip to main content
VulnerabilityPublished

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

Affects mistuneSource GCVE Database

0
Compare
Authoritative record:CVE-2026-97699· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 3.3.4 soon.

Data as of 19 Nov 2026, 23:23 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 3.3.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Upgrade mistune to 3.3.4.

Affected software

ProductAffectedFixed in
PyPImistuneAffected
  • <3.3.4
Fixed in
  • 3.3.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Mistune to version 3.3.4 or later, where the vulnerability is fixed. The fix generalizes existing guards to also apply to image parsing, preventing the quadratic-time behavior. No other mitigations are necessary as the issue is resolved in the official patch.

Description

Mistune versions prior to 3.3.4 contain a quadratic-time denial-of-service vulnerability in the inline image parsing logic. The vulnerability arises because certain guards intended to limit processing time are bypassed for image syntax, causing excessive CPU usage when parsing crafted markdown input with repeated image openers. This can cause a single unauthenticated request to consume 100% CPU on a worker, significantly degrading service availability. The issue is fixed in version 3.3.4.

References

Community reviews

Loading reviews…