CVE-2025-59472
CVE-2025-59472 is a medium-severity vulnerability in Vercel Next.js with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-400.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 0% (28th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-206333
- Weakness: CWE-400
- Affected product: Vercel Next.js
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-59472?
- 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.
- How severe is CVE-2025-59472?
- CVE-2025-59472 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2025-59472 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-59472?
- CVE-2025-59472 primarily affects Vercel Next.js. In total, 63 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-59472?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-59472 have an EU (EUVD) identifier?
- Yes. CVE-2025-59472 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-206333.
- When was CVE-2025-59472 published?
- CVE-2025-59472 was published on 2026-01-26 and last updated on 2026-06-17.
References
Affected products (63)
- cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:-:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary0:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary1:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary10:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary11:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary12:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary13:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary14:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary15:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary16:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary17:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary18:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary19:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary2:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary20:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary21:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary22:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary23:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary24:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary25:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary26:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary27:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary28:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary29:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary3:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary30:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary31:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary32:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary33:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary34:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary35:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary36:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary37:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary38:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary39:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary4:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary40:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary41:*:*:*:node.js:*:*
- cpe:2.3:a:vercel:next.js:15.6.0:canary42:*:*:*:node.js:*:*
More vulnerabilities in Vercel Next.js
- CVE-2025-55182 — Critical (CVSS 10.0): A pre-authentication remote code execution vulnerability exists in React Server Components versions 19.0.0, 19.1.0,…
- CVE-2025-29927 — Critical (CVSS 9.1): Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions…
- CVE-2026-44578 — High (CVSS 8.6): Next.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5,…
- CVE-2026-44574 — High (CVSS 8.1): Next.js is a React framework for building full-stack web applications. From 15.4.0 to before 15.5.16 and 16.2.5,…
- CVE-2026-45109 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. From 15.2.0 to before 15.5.18 and 16.2.6, it was…
- CVE-2026-44579 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. From to before 15.5.16 and 16.2.5, applications…
All CVEs affecting Vercel Next.js →
Other CWE-400 (Uncontrolled Resource Consumption) vulnerabilities
- CVE-2026-46775 — Critical (CVSS 9.9): Vulnerability in Oracle REST Data Services (component: Core). Supported versions that are affected are 24.2.0-26.1.0.…
- CVE-2025-61303 — Critical (CVSS 9.8): Hatching Triage Sandbox Windows 10 build 2004 (2025-08-14) and Windows 10 LTSC 2021(2025-08-14) contains a…
- CVE-2025-43193 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7,…
- CVE-2025-24269 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4. An app may be able to…
- CVE-2025-24264 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4,…
- CVE-2025-24260 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5,…
Browse all CWE-400 (Uncontrolled Resource Consumption) vulnerabilities →