CVE-2025-59472Next.js has Unbounded Memory Consumption via PPR Resume Endpoint
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.7%
- percentile 47%
- Fix
- Named by a source
- CVE published 26 Jan 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.7% (+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 16.1.5 / 15.6.0-canary.61 or later on your release line.
- Advisory: https://github.com/vercel/next.js/security/advisories/GHSA-5f7q-jpqc-wp7h
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-59472
Who should check
next (npm) pkg:npm/next
- Affected>= 16.0.0-beta.0, < 16.1.5Fixed in16.1.5OSV (GHSA-5f7q-jpqc-wp7h)
- Affected>= 15.0.0-canary.0, <= 15.0.0-canary.205Last known affected15.0.0-canary.205OSV (GHSA-5f7q-jpqc-wp7h)
- Affected>= 15.0.1-canary.0, <= 15.0.1-canary.3Last known affected15.0.1-canary.3OSV (GHSA-5f7q-jpqc-wp7h)
- Affected>= 15.0.2-canary.0, <= 15.0.2-canary.11Last known affected15.0.2-canary.11OSV (GHSA-5f7q-jpqc-wp7h)
- Affected>= 15.0.3-canary.0, <= 15.0.3-canary.9Last known affected15.0.3-canary.9OSV (GHSA-5f7q-jpqc-wp7h)
- Affected>= 15.0.4-canary.0, <= 15.0.4-canary.52Last known affected15.0.4-canary.52OSV (GHSA-5f7q-jpqc-wp7h)
- Affected>= 15.1.1-canary.0, <= 15.1.1-canary.27Last known affected15.1.1-canary.27OSV (GHSA-5f7q-jpqc-wp7h)
- Affected>= 15.2.0-canary.0, <= 15.2.0-canary.77Last known affected15.2.0-canary.77OSV (GHSA-5f7q-jpqc-wp7h)
vercel next product:vercel/next
- Affected>= 15.0.0-canary.0, < 15.0.0Affected range ends before15.0.0as published by CNA (CVE List)
- Affected>= 15.0.1-canary.0, < 15.0.1Affected range ends before15.0.1as published by CNA (CVE List)
- Affected>= 15.0.2-canary.0, < 15.0.2Affected range ends before15.0.2as published by CNA (CVE List)
- Affected>= 15.0.3-canary.0, < 15.0.3Affected range ends before15.0.3as published by CNA (CVE List)
- Affected>= 15.0.4-canary.0, < 15.0.4Affected range ends before15.0.4as published by CNA (CVE List)
- Affected>= 15.1.0-canary.0, < 15.1.0Affected range ends before15.1.0as published by CNA (CVE List)
- Affected>= 15.1.1-canary.0, < 15.1.1Affected range ends before15.1.1as published by CNA (CVE List)
- Affected>= 15.1.2-canary.0, < 15.1.2Affected range ends before15.1.2as published by CNA (CVE List)
vercel next.js product:vercel/nextjs
- Affected>= 15.0.0, < 15.6.0Affected range ends before15.6.0as 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)
- Affected15.6.0Fixed innot namedas published by CPE data (via the NVD API)
- Affected15.6.0-canary0Fixed innot namedas published by CPE data (via the NVD API)
- Affected15.6.0-canary1Fixed innot namedas published by CPE data (via the NVD API)
- Affected15.6.0-canary10Fixed innot namedas published by CPE data (via the NVD API)
- Affected15.6.0-canary11Fixed innot namedas published by CPE data (via the NVD API)
- Affected15.6.0-canary12Fixed innot namedas 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 Next.js versions with Partial Prerendering (PPR) enabled when running in minimal mode. The PPR resume endpoint accepts unauthenticated POST requests with the `Next-Resume: 1` header and processes attacker-controlled postponed state data. Two closely related vulnerabilities allow an attacker to crash the server process through memory exhaustion: 1. **Unbounded request body buffering**: The server buffers the entire POST request body into memory using `Buffer.concat()` without enforcing any size limit, allowing arbitrarily large payloads to exhaust available memory. 2. **Unbounded decompression (zipbomb)**: The resume data cache is decompressed using `inflateSync()` without limiting the decompressed output size. A small compressed payload can expand to hundreds of megabytes or gigabytes, causing memory exhaustion. Both attack vectors result in a fatal V8 out-of-memory error (`FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory`) causing the Node.js process to terminate. The zipbomb variant is particularly dangerous as it can bypass reverse proxy request size limits while still causing large memory allocation on the server. To be affected you must have an application running with `experimental.ppr: true` or `cacheComponents: true` configured along with the NEXT_PRIVATE_MINIMAL_MODE=1 environment variable. Strongly consider upgrading to 15.6.0-canary.61 or 16.1.5 to reduce risk and prevent availability issues in Next applications.
Update history
- 26 Jan 2026Published
References
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-59472 (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-5f7q-jpqc-wp7h (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 25 min ago · osv 25 min ago · nvd 86 min ago · epss 25 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-5f7q-jpqc-wp7h