Security mailing lists by PureSourceCode

CVE-2025-59472

HIGH 7.5CVSS 3.1

Next.js has Unbounded Memory Consumption via PPR Resume Endpoint

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.

Published
26 Jan 2026
Last modified
10 Sep 2026
Assigned by
support@hackerone.com
NVD status
Analyzed
Weakness
CWE-400CWE-409CWE-770
Also known as
GHSA-5f7q-jpqc-wp7h
Sources
NVDJSONOSV GHSA-5f7q-jpqc-wp7hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD support@hackerone.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vercel next.js
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
>= 15.0.0, < 15.6.0 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
>= 16.0.0, < 16.1.5 16.1.5
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:-:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary0:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary1:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary10:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary11:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary12:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary13:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary14:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary15:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary16:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary17:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary18:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary19:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary2:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary20:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary21:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary22:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary23:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary24:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary25:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary26:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary27:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary28:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary29:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary3:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary30:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary31:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary32:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary33:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary34:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary35:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary36:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary37:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary38:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary39:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary4:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary40:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary41:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary42:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary43:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary44:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary45:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary46:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary47:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary48:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary49:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary5:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary50:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary51:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary52:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary53:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary54:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary55:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary56:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary57:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary58:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary59:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary6:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary60:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary7:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary8:*:*:*:node.js:*:*
= 15.6.0
NVD vercel next.js
cpe:2.3:a:vercel:next.js:15.6.0:canary9:*:*:*:node.js:*:*
= 15.6.0
OSV npm next >= 16.0.0-beta.0, < 16.1.5 16.1.5
OSV npm next >= 15.0.0-canary.0, <= 15.0.0-canary.205
OSV npm next >= 15.0.1-canary.0, <= 15.0.1-canary.3
OSV npm next >= 15.0.2-canary.0, <= 15.0.2-canary.11
OSV npm next >= 15.0.3-canary.0, <= 15.0.3-canary.9
OSV npm next >= 15.0.4-canary.0, <= 15.0.4-canary.52
OSV npm next >= 15.1.1-canary.0, <= 15.1.1-canary.27
OSV npm next >= 15.2.0-canary.0, <= 15.2.0-canary.77
OSV npm next >= 15.2.1-canary.0, <= 15.2.1-canary.6
OSV npm next >= 15.2.2-canary.0, <= 15.2.2-canary.7
OSV npm next >= 15.3.0-canary.0, <= 15.3.0-canary.46
OSV npm next >= 15.3.1-canary.0, <= 15.3.1-canary.15
OSV npm next >= 15.4.0-canary.0, <= 15.4.0-canary.130
OSV npm next >= 15.4.2-canary.0, <= 15.4.2-canary.56
OSV npm next >= 15.5.1-canary.0, <= 15.5.1-canary.39
OSV npm next >= 15.6.0-canary.0, < 15.6.0-canary.61 15.6.0-canary.61

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 26 Jan 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 28 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.