{"id":"CVE-2026-64644","published":"2026-07-27T17:54:52Z","modified":"2026-07-27T18:35:41Z","title":"Next.js: Denial of Service in the Image Optimization API using SVGs","vendor":"vercel","product":"next.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00666,"percentile":0.52791,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63ch","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vercel/next.js/pull/96006","tags":["x_refsource_MISC"]},{"url":"https://github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766c","tags":["x_refsource_MISC"]},{"url":"https://github.com/vercel/next.js/releases/tag/v15.5.21","tags":["x_refsource_MISC"]},{"url":"https://github.com/vercel/next.js/releases/tag/v16.2.11","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.56},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"vercel","affectedVersions":[{"vendor":"vercel","product":"next.js","versions":[">= 15.5.0, < 15.5.21",">= 16.0.0, < 16.2.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-27T18:35:34.937230Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"next","vulnerableRanges":[">=15.5.0, <15.5.21",">=16.0.0, <16.2.11"],"patched":["15.5.21","16.2.11"],"from":["GHSA-q8wf-6r8g-63ch"],"provenance":"source"}],"summary":{"text":"The flaw is in the Image Optimization API of Next.js (vercel's next.js framework) when self-hosted with the default image loader and remotePatterns configured. Malicious remotely hosted images served through the /_next/image endpoints can cause CPU exhaustion, and an attacker can trigger this over the network without authentication or user interaction, provided the application has remote image patterns configured (the default is not enabled).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:12Z"},"euvd":{"id":"EUVD-2026-49388","exploited":false,"provenance":"source"}}