CVE-2025-59472 Details
Description
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.
A denial-of-service vulnerability has been identified in Next.js versions 15.0.0-canary.0 through 15.5.9-canary.0 and in version 16.1.0, when Partial Prerendering (PPR) is enabled and the application is running in minimal mode. The vulnerability arises because the PPR resume endpoint processes unauthenticated POST requests with the 'Next-Resume: 1' header, allowing attackers to send large payloads that exhaust server memory. This is facilitated by unbounded request body buffering, where the server buffers the entire POST request body into memory without size limits, and unbounded decompression of 'zipbomb' payloads, which can expand dramatically and cause memory exhaustion. Both attack vectors lead to a fatal out-of-memory error, causing the Node.js process to crash. The zipbomb variant is particularly concerning as it can bypass reverse proxy request size limits while still causing significant memory allocation on the server.
Users are advised to upgrade to Next.js versions 15.6.0-canary.61 or 16.1.5 to mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/vercel/next.js/security/advisories/GHSA-5f7q-jpqc-wp7h | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| vercel next.js | >= 15.0.0, < 15.6.0 >= 16.0.0, < 16.1.5 15.6.0 - 15.6.0 canary0 15.6.0 canary1 15.6.0 canary10 15.6.0 canary11 15.6.0 canary12 15.6.0 canary13 15.6.0 canary14 15.6.0 canary15 15.6.0 canary16 15.6.0 canary17 15.6.0 canary18 15.6.0 canary19 15.6.0 canary2 15.6.0 canary20 15.6.0 canary21 15.6.0 canary22 15.6.0 canary23 15.6.0 canary24 15.6.0 canary25 15.6.0 canary26 15.6.0 canary27 15.6.0 canary28 15.6.0 canary29 15.6.0 canary3 15.6.0 canary30 15.6.0 canary31 15.6.0 canary32 15.6.0 canary33 15.6.0 canary34 15.6.0 canary35 15.6.0 canary36 15.6.0 canary37 15.6.0 canary38 15.6.0 canary39 15.6.0 canary4 15.6.0 canary40 15.6.0 canary41 15.6.0 canary42 15.6.0 canary43 15.6.0 canary44 15.6.0 canary45 15.6.0 canary46 15.6.0 canary47 15.6.0 canary48 15.6.0 canary49 15.6.0 canary5 15.6.0 canary50 15.6.0 canary51 15.6.0 canary52 15.6.0 canary53 15.6.0 canary54 15.6.0 canary55 15.6.0 canary56 15.6.0 canary57 15.6.0 canary58 15.6.0 canary59 15.6.0 canary6 15.6.0 canary60 15.6.0 canary7 15.6.0 canary8 15.6.0 canary9 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Jan 27, 2026 | CVE Modified | CISA-ADP |
| Jan 26, 2026 | New CVE Received | [email protected] |