CVE-2026-64644: Next.js · Denial of Service in the Image Optimization API using SVGs
Affects nextSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 15.5.21 when convenient.
Data as of 5 Dec 2026, 18:47 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 15.5.21, 16.2.11
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Jul 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 5 Dec 2026.
What to do
Upgrade next to 15.5.21; next to 16.2.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmnext | Affected
| Fixed in
|
| npmnext | 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 Next.js to version 15.5.21 or later, or 16.2.11 or later, where the vulnerability is fixed. If immediate upgrade is not possible, set config.experimental.imgOptSkipMetadata to true as a workaround to avoid CPU exhaustion. Users on Vercel or those using config.images.unoptimized: true or config.images.loader: 'custom' are not impacted and require no action.
Description
A denial of service vulnerability exists in Next.js Image Optimization API when self-hosting with the default image loader and remote image optimization enabled. Malicious SVG images can cause CPU exhaustion on the /_next/image endpoints. This affects versions 15.5.0 up to but not including 15.5.21, and 16.0.0 up to but not including 16.2.11. Users of Vercel or those using custom loaders or unoptimized images are not impacted. A workaround is available via a configuration setting to skip metadata processing.
References
- github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63ch (opens in a new tab)
- github.com/vercel/next.js/pull/96006 (opens in a new tab)
- github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766c (opens in a new tab)
- github.com/vercel/next.js (opens in a new tab)
- github.com/vercel/next.js/releases/tag/v15.5.21 (opens in a new tab)
- github.com/vercel/next.js/releases/tag/v16.2.11 (opens in a new tab)