CVE-2026-97699: Mistune · Quadratic-time DoS in inline image parsing (precedence_scan) bypasses not-is-image guards
Affects recon-ngSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 5.1.2_4 soon.
Data as of 25 Nov 2026, 20:38 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 5.1.2_4, 3.3.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 25 Nov 2026.
What to do
Upgrade recon-ng to 5.1.2_4; mistune to 3.3.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewrecon-ngpkg:brew/recon-ngOther threats | Affected
| Fixed in
|
PyPImistunepkg:pypi/mistuneOther threats | Affected
| Fixed in
|
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 parsing guards to apply to image parsing, preventing the quadratic-time behavior. No other mitigation is required as the patch fully addresses the issue.
Description
Mistune versions prior to 3.3.4 contain a quadratic-time denial-of-service vulnerability in inline image parsing. The vulnerability arises because guards that prevent excessive CPU usage on link parsing do not apply to image parsing, allowing crafted markdown input with repeated '![', 'x', and ']' characters to cause O(n²) CPU consumption. This can cause a single unauthenticated request to stall a worker at 100% CPU for several seconds depending on input size. The issue is fixed in Mistune 3.3.4.
References
- github.com/lepture/mistune/security/advisories/GHSA-ww7q-mxrj-5ffg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-97699 (opens in a new tab)
- github.com/lepture/mistune/commit/b4dd3284e52ec741ed9a227db29ade9017828e90 (opens in a new tab)
- github.com/lepture/mistune (opens in a new tab)
- github.com/lepture/mistune/releases/tag/v3.3.4 (opens in a new tab)