Live threats

All CVEs / Vercel

CVE-2025-59471Vercel Next.js

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jan 26, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

A denial of service vulnerability exists in self-hosted Next.js applications that have `remotePatterns` configured for the Image Optimizer. The image optimization endpoint (`/_next/image`) loads external images entirely into memory without enforcing a maximum size limit, allowing an attacker to cause out-of-memory conditions by requesting optimization of arbitrarily large images. This vulnerability requires that `remotePatterns` is configured to allow image optimization from external domains and that the attacker can serve or control a large image on an allowed domain. Strongly consider upgrading to 15.5.10 or 16.1.5 to reduce risk and prevent availability issues in Next applications.

Original NVD text.

What to do

  1. Apply the vendor's security update for Next.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm next ≥ 10.0.0 < 15.5.10 15.5.10 npm install next@15.5.10
npm next ≥ 15.6.0-canary.0 < 16.1.5 16.1.5 npm install next@16.1.5

Per OSV / GitHub Advisories (GHSA-9g9p-9gw9-jx7f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vercelnext.js≥ 10.0.0 < 15.5.10
vercelnext.js≥ 16.0.0 < 16.1.5

Official sources

References

Links published by the sources. Open them with care.