CVE-2025-59472

EUVD-2025-206333
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Affected Products (NVD)
VendorProductVersion
vercelnext.js
15.0.0 ≤
𝑥
< 15.6.0
vercelnext.js
16.0.0 ≤
𝑥
< 16.1.5
vercelnext.js
15.6.0
vercelnext.js
15.6.0:canary0
vercelnext.js
15.6.0:canary1
vercelnext.js
15.6.0:canary10
vercelnext.js
15.6.0:canary11
vercelnext.js
15.6.0:canary12
vercelnext.js
15.6.0:canary13
vercelnext.js
15.6.0:canary14
vercelnext.js
15.6.0:canary15
vercelnext.js
15.6.0:canary16
vercelnext.js
15.6.0:canary17
vercelnext.js
15.6.0:canary18
vercelnext.js
15.6.0:canary19
vercelnext.js
15.6.0:canary2
vercelnext.js
15.6.0:canary20
vercelnext.js
15.6.0:canary21
vercelnext.js
15.6.0:canary22
vercelnext.js
15.6.0:canary23
vercelnext.js
15.6.0:canary24
vercelnext.js
15.6.0:canary25
vercelnext.js
15.6.0:canary26
vercelnext.js
15.6.0:canary27
vercelnext.js
15.6.0:canary28
vercelnext.js
15.6.0:canary29
vercelnext.js
15.6.0:canary3
vercelnext.js
15.6.0:canary30
vercelnext.js
15.6.0:canary31
vercelnext.js
15.6.0:canary32
vercelnext.js
15.6.0:canary33
vercelnext.js
15.6.0:canary34
vercelnext.js
15.6.0:canary35
vercelnext.js
15.6.0:canary36
vercelnext.js
15.6.0:canary37
vercelnext.js
15.6.0:canary38
vercelnext.js
15.6.0:canary39
vercelnext.js
15.6.0:canary4
vercelnext.js
15.6.0:canary40
vercelnext.js
15.6.0:canary41
vercelnext.js
15.6.0:canary42
vercelnext.js
15.6.0:canary43
vercelnext.js
15.6.0:canary44
vercelnext.js
15.6.0:canary45
vercelnext.js
15.6.0:canary46
vercelnext.js
15.6.0:canary47
vercelnext.js
15.6.0:canary48
vercelnext.js
15.6.0:canary49
vercelnext.js
15.6.0:canary5
vercelnext.js
15.6.0:canary50
vercelnext.js
15.6.0:canary51
vercelnext.js
15.6.0:canary52
vercelnext.js
15.6.0:canary53
vercelnext.js
15.6.0:canary54
vercelnext.js
15.6.0:canary55
vercelnext.js
15.6.0:canary56
vercelnext.js
15.6.0:canary57
vercelnext.js
15.6.0:canary58
vercelnext.js
15.6.0:canary59
vercelnext.js
15.6.0:canary6
vercelnext.js
15.6.0:canary60
vercelnext.js
15.6.0:canary7
vercelnext.js
15.6.0:canary8
vercelnext.js
15.6.0:canary9
𝑥
= Vulnerable software versions