CVE-2025-59472
January 26, 2026
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.
Affected Packages
next (NPM):
Affected version(s) =15.3.0-canary.0 <15.3.0Fix Suggestion:
Update to version 15.3.0next (NPM):
Affected version(s) >=16.0.0-beta.0 <16.1.5Fix Suggestion:
Update to version 16.1.5next (NPM):
Affected version(s) =15.3.1-canary.0 <15.3.1Fix Suggestion:
Update to version 15.3.1next (NPM):
Affected version(s) =15.0.3-canary.0 <15.0.3Fix Suggestion:
Update to version 15.0.3next (NPM):
Affected version(s) =15.4.0-canary.0 <15.4.0Fix Suggestion:
Update to version 15.4.0next (NPM):
Affected version(s) =15.4.2-canary.0 <15.4.2Fix Suggestion:
Update to version 15.4.2next (NPM):
Affected version(s) >=15.6.0-canary.0 <15.6.0-canary.61Fix Suggestion:
Update to version 15.6.0-canary.61next (NPM):
Affected version(s) =15.2.2-canary.0 <15.2.2Fix Suggestion:
Update to version 15.2.2next (NPM):
Affected version(s) =15.2.1-canary.0 <15.2.1Fix Suggestion:
Update to version 15.2.1next (NPM):
Affected version(s) =15.0.2-canary.0 <15.0.2Fix Suggestion:
Update to version 15.0.2next (NPM):
Affected version(s) =15.1.1-canary.0 <15.1.1Fix Suggestion:
Update to version 15.1.1next (NPM):
Affected version(s) =15.0.1-canary.0 <15.0.1Fix Suggestion:
Update to version 15.0.1next (NPM):
Affected version(s) =16.1.0 <16.1.5Fix Suggestion:
Update to version 16.1.5next (NPM):
Affected version(s) =15.0.0-canary.0 <15.0.0Fix Suggestion:
Update to version 15.0.0next (NPM):
Affected version(s) =15.2.0-canary.0 <15.2.0Fix Suggestion:
Update to version 15.2.0Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.05