Impact
The CVE describes that the Image Optimization API of Next.js can cause CPU exhaustion when processing malicious SVG images, resulting in a denial‑of‑service. This resource‑exhaustion weakness is identified as CWE‑407. Attacks would exhaust system processing capacity, potentially taking the image optimization endpoint and related services offline.
Affected Systems
Vercel Next.js versions 15.5.0 through 15.5.20 and 16.0.0 through 16.2.10 are affected when the default image loader is used and config.images.remotePatterns is configured. The vulnerability does not impact sites that set config.images.unoptimized to true, use a custom loader, or host images on Vercel's own infrastructure.
Risk and Exploitability
The CVSS score of 6.3 indicates moderate severity. The EPSS score is < 1%, indicating a very low exploitation probability. The issue is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is an application that trusts remote image URLs defined in config.images.remotePatterns; an attacker can host a crafted SVG file that, when requested through the /_next/image endpoint, will trigger CPU exhaustion and disrupt service.
OpenCVE Enrichment
Github GHSA