Vulnerability Database

383,371

Total vulnerabilities in the database

CVE-2025-59472 — vercel / next.js

Uncontrolled Resource Consumption

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.

CVSS v3:

  • Severity: Medium
  • Score: 5.9
  • AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Software Affected versions
vercel / next.js >= 15.0.0, < 15.6.0
vercel / next.js >= 16.0.0, < 16.1.5
Node.js icon next >= 16.0.0-beta.0, < 16.1.5
Node.js icon next >= 15.6.0-canary.0, < 15.6.0-canary.61
Node.js icon next >= 15.0.0-canary.0, <= 15.0.0-canary.205
Node.js icon next >= 15.0.1-canary.0, <= 15.0.1-canary.3
Node.js icon next >= 15.0.2-canary.0, <= 15.0.2-canary.11
Node.js icon next >= 15.0.3-canary.0, <= 15.0.3-canary.9
Node.js icon next >= 15.0.4-canary.0, <= 15.0.4-canary.52
Node.js icon next >= 15.1.1-canary.0, <= 15.1.1-canary.27
Node.js icon next >= 15.2.0-canary.0, <= 15.2.0-canary.77
Node.js icon next >= 15.2.1-canary.0, <= 15.2.1-canary.6
Node.js icon next >= 15.2.2-canary.0, <= 15.2.2-canary.7
Node.js icon next >= 15.3.0-canary.0, <= 15.3.0-canary.46
Node.js icon next >= 15.3.1-canary.0, <= 15.3.1-canary.15
Node.js icon next >= 15.4.0-canary.0, <= 15.4.0-canary.130
Node.js icon next >= 15.4.2-canary.0, <= 15.4.2-canary.56
Node.js icon next >= 15.5.1-canary.0, <= 15.5.1-canary.39
vercel / next.js = 15.6.0
vercel / next.js = 15.6.0-canary0
vercel / next.js = 15.6.0-canary1
vercel / next.js = 15.6.0-canary10
vercel / next.js = 15.6.0-canary11
vercel / next.js = 15.6.0-canary12
vercel / next.js = 15.6.0-canary13
vercel / next.js = 15.6.0-canary14
vercel / next.js = 15.6.0-canary15
vercel / next.js = 15.6.0-canary16
vercel / next.js = 15.6.0-canary17
vercel / next.js = 15.6.0-canary18
vercel / next.js = 15.6.0-canary19
vercel / next.js = 15.6.0-canary2
vercel / next.js = 15.6.0-canary20
vercel / next.js = 15.6.0-canary21
vercel / next.js = 15.6.0-canary22
vercel / next.js = 15.6.0-canary23
vercel / next.js = 15.6.0-canary24
vercel / next.js = 15.6.0-canary25
vercel / next.js = 15.6.0-canary26
vercel / next.js = 15.6.0-canary27
vercel / next.js = 15.6.0-canary28
vercel / next.js = 15.6.0-canary29
vercel / next.js = 15.6.0-canary3
vercel / next.js = 15.6.0-canary30
vercel / next.js = 15.6.0-canary31
vercel / next.js = 15.6.0-canary32
vercel / next.js = 15.6.0-canary33
vercel / next.js = 15.6.0-canary34
vercel / next.js = 15.6.0-canary35
vercel / next.js = 15.6.0-canary36
vercel / next.js = 15.6.0-canary37
vercel / next.js = 15.6.0-canary38
vercel / next.js = 15.6.0-canary39
vercel / next.js = 15.6.0-canary4
vercel / next.js = 15.6.0-canary40
vercel / next.js = 15.6.0-canary41
vercel / next.js = 15.6.0-canary42
vercel / next.js = 15.6.0-canary43
vercel / next.js = 15.6.0-canary44
vercel / next.js = 15.6.0-canary45
vercel / next.js = 15.6.0-canary46
vercel / next.js = 15.6.0-canary47
vercel / next.js = 15.6.0-canary48
vercel / next.js = 15.6.0-canary49
vercel / next.js = 15.6.0-canary5
vercel / next.js = 15.6.0-canary50
vercel / next.js = 15.6.0-canary51
vercel / next.js = 15.6.0-canary52
vercel / next.js = 15.6.0-canary53
vercel / next.js = 15.6.0-canary54
vercel / next.js = 15.6.0-canary55
vercel / next.js = 15.6.0-canary56
vercel / next.js = 15.6.0-canary57
vercel / next.js = 15.6.0-canary58
vercel / next.js = 15.6.0-canary59
vercel / next.js = 15.6.0-canary6
vercel / next.js = 15.6.0-canary60
vercel / next.js = 15.6.0-canary7
vercel / next.js = 15.6.0-canary8
vercel / next.js = 15.6.0-canary9

Frequently Asked Questions

A security vulnerability is a weakness in software, hardware, or configuration that can be exploited to compromise confidentiality, integrity, or availability. Many vulnerabilities are tracked as CVEs (Common Vulnerabilities and Exposures), which provide a standardized identifier so teams can coordinate patching, mitigation, and risk assessment across tools and vendors.

CVSS (Common Vulnerability Scoring System) estimates technical severity, but it doesn't automatically equal business risk. Prioritize using context like internet exposure, affected asset criticality, known exploitation (proof-of-concept or in-the-wild), and whether compensating controls exist. A "Medium" CVSS on an exposed, production system can be more urgent than a "Critical" on an isolated, non-production host.

A vulnerability is the underlying weakness. An exploit is the method or code used to take advantage of it. A zero-day is a vulnerability that is unknown to the vendor or has no publicly available fix when attackers begin using it. In practice, risk increases sharply when exploitation becomes reliable or widespread.

Recurring findings usually come from incomplete Asset Discovery, inconsistent patch management, inherited images, and configuration drift. In modern environments, you also need to watch the software supply chain: dependencies, containers, build pipelines, and third-party services can reintroduce the same weakness even after you patch a single host. Unknown or unmanaged assets (often called Shadow IT) are a common reason the same issues resurface.

Use a simple, repeatable triage model: focus first on externally exposed assets, high-value systems (identity, VPN, email, production), vulnerabilities with known exploits, and issues that enable remote code execution or privilege escalation. Then enforce patch SLAs and track progress using consistent metrics so remediation is steady, not reactive.

SynScan combines attack surface monitoring and continuous security auditing to keep your inventory current, flag high-impact vulnerabilities early, and help you turn raw findings into a practical remediation plan.