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%
- 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
- next (npm): upgrade to 15.5.10 / 16.1.5 or later on your release line.
- Commit / pull request: https://github.com/vercel/next.js/commit/500ec83743639addceaede95e95913398975156c
- Commit / pull request: https://github.com/vercel/next.js/commit/e5b834d208fe0edf64aa26b5d76dcf6a176500ec
- Advisory: https://github.com/vercel/next.js/security/advisories/GHSA-9g9p-9gw9-jx7f
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-59471
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
- advisoryhttps://github.com/vercel/next.js/security/advisories/GHSA-9g9p-9gw9-jx7f
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-59471
- commit / pull requesthttps://github.com/vercel/next.js/commit/500ec83743639addceaede95e95913398975156c
- commit / pull requesthttps://github.com/vercel/next.js/commit/e5b834d208fe0edf64aa26b5d76dcf6a176500ec
- otherhttps://github.com/vercel/next.js
- otherhttps://github.com/vercel/next.js/releases/tag/v15.5.10
- otherhttps://github.com/vercel/next.js/releases/tag/v16.1.5
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-59471 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-9g9p-9gw9-jx7f (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
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