// Security Advisory Triage

Mistune 3.3.3 and earlier: quadratic-time DoS in inline image parsing

GitHub advisories — pip · published 2026-11-20 07:21 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-ww7q-mxrj-5ffg on 19 November 2026, rating a denial-of-service vulnerability in mistune (CVE-2026-97699) as high severity. The flaw is in inline image parsing (precedence_scan) and bypasses not-is-image guards. First patched version: 3.3.4.
WHY IT MATTERSMistune is a markdown parser in Python dependency trees. An attacker can trigger quadratic-time processing, causing the parser to hang or exhaust resources on crafted input.
WHAT TO DOCheck whether mistune is in your dependency tree and whether you are running 3.3.3 or earlier. If so, update to 3.3.4.
Model-reported confidence 95% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-ww7q-mxrj-5ffg
+summary: Mistune: Quadratic-time DoS in inline image parsing (precedence_scan) bypasses not-is-image guards
+severity: high
+published_at: 2026-11-19T22:44:00Z
+cve_id: CVE-2026-97699
+vulnerabilities[].package.name: mistune
+vulnerabilities[].first_patched_version: 3.3.4
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningMistune is a widely-used Python markdown parser. DoS in parsing logic affects services processing untrusted markdown.
signalsnew advisory published · high severity rating · known CVE assigned · mistune is a markdown parser in Python dependency tree · first patched version specified (3.3.4) · DoS vulnerability affecting parsing logic
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)