Feed
7.5HIGH

CVE-2025-59471Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration

A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.6% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.6%
percentile 41%
Priority
25/100 medium
how it is computed
Fix
Named by a source
CVE published 26 Jan 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.6% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5) · CVSS 7.5: at least medium

Immediate actions

Who should check

  • next (npm) pkg:npm/next

    • Affected>= 10.0.0, < 15.5.10Fixed in15.5.10OSV (GHSA-9g9p-9gw9-jx7f)
    • Affected>= 15.6.0-canary.0, < 16.1.5Fixed in16.1.5OSV (GHSA-9g9p-9gw9-jx7f)
  • vercel next product:vercel/next

    • Affected< 10.0Affected range ends before10.0as published by CNA (CVE List)
    • Affected< 11.0Affected range ends before11.0as published by CNA (CVE List)
    • Affected< 12.0Affected range ends before12.0as published by CNA (CVE List)
    • Affected< 13.0Affected range ends before13.0as published by CNA (CVE List)
    • Affected< 14.0Affected range ends before14.0as published by CNA (CVE List)
    • Affected>= 15.0, < 15.5.10Affected range ends before15.5.10as published by CNA (CVE List)
    • Affected>= 16.0, < 16.1.5Affected range ends before16.1.5as published by CNA (CVE List)
  • vercel next.js product:vercel/nextjs

    • Affected>= 10.0.0, < 15.5.10Affected range ends before15.5.10as published by CPE data (via the NVD API)
    • Affected>= 16.0.0, < 16.1.5Affected range ends before16.1.5as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
NVD
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-400
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 26 Jan 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 21 min ago · osv 20 min ago · nvd 81 min ago · epss 20 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-9g9p-9gw9-jx7f