VDB

CVE-2026-64644

CVE-2026-64644 PUBLISHED CVSS 6.3 MEDIUM

Next.js: Denial of Service in the Image Optimization API using SVGs

Reported by github_m · Published July 27, 2026

next is fixed in 16.2.11 and 15.5.21 (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nextnpm16.2.11, 15.5.21
next.jsvercel16.2.11, 15.5.21

Risk scores

CVSS 4.0
6.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
vercelnext.js>= 15.5.0, < 15.5.21, >= 16.0.0, < 16.2.11
npmnext15.5.0, 16.0.0
vercelnext.js15.5.0, 16.0.0
chainguardlangfuse-30, 0
chainguardlangfuse-fips-20
chainguardlangfuse-fips-30
wolfijitsucom-jitsu0
wolfilangfuse-30, 0
chainguardkeep0
chainguardhomepage0
chainguardkeep-fips0
chainguardjitsucom-jitsu0
chainguardpeerdb-ui0
chainguardlangfuse-20

Timeline

  • Jul 21, 2026 CVE Published
  • Jul 27, 2026 Coalition ESS Score
  • Jul 27, 2026 CVE Updated
  • Jul 28, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (30 in total, the first dated here)
  • Aug 13, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64644
vulnetix vdb fixes CVE-2026-64644

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64644/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›