CVE-2026-64644
mediumpriority · track · 21EPSS 0.007 · 52 %ileDEEUUSEPSS · scored 2026-10-27
Next.js is a React framework for building full-stack web applications. In versions 15.5.0 through 15.5.20 and 16.0.0 through 16.2.10, when self-hosting Next.js with the default image loader, the Image Optimization API can optimize remotely hosted images if configured (not enabled by default). If those images contain malicious content, they can cause CPU exhaustion in /_next/image endpoints.Only config.images.remotePatterns is affected, and just the patterns in that array, whereas config.images.unoptimized: true, config.images.loader: 'custom', and Vercel are not impacted. This issue has been fixed in versions 15.5.21 and 16.2.11.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.7–6.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-2468Vercel Next.js: Mehrere SchwachstellenDeutsch2026-07-21csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Vercel Next.js ausnutzen, um Daten zu manipulieren, um Informationen offenzulegen, um einen Denial of Service Angriff durchzuführen, und um Sicherheitsvorkehrungen zu umgehen.
- GHSA-q8wf-6r8g-63chNext.js: Denial of Service in the Image Optimization API using SVGs2026-07-22ghsa · osvUS
### Impact When self-hosting Next.js with the default image loader, the Image Optimization API can optimize remotely hosted images if configured (not enabled by default). If those images contain malicious content, they can cause CPU exhaustion in `/_next/image` endpoints. - If you are using `config.images.remotePatterns`, only the patterns in that array are impacted. - If you are using `config.images.unoptimized: true`, you are NOT impacted. - If you are using `config.images.loader: 'custom'`, you are NOT impacted. - If you are using Vercel, you are NOT impacted. ### Workarounds If you cannot upgrade immediately, you can avoid the expensive work by setting `config.experimental.imgOptSkipMetadata : true`.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766cenisa_euvd
- https://github.com/vercel/next.js/pull/96006enisa_euvd
- https://github.com/vercel/next.js/releases/tag/v15.5.21enisa_euvd
- https://github.com/vercel/next.js/releases/tag/v16.2.11enisa_euvd
- https://github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63chenisa_euvd
- https://github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766cPatchnvd
- https://github.com/vercel/next.js/pull/96006Issue TrackingPatchnvd
- https://github.com/vercel/next.js/releases/tag/v15.5.21ProductRelease Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan