CVE-2025-59472

Published Jan 26, 2026

Last updated 2 months ago

Overview

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.
Source
support@hackerone.com
NVD status
Analyzed
Products
next.js

Risk scores

CVSS 3.1

Type
Primary
Base score
7.5
Impact score
3.6
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity
HIGH

Weaknesses

134c704f-9b21-4f2e-91b3-4a467353bcc0
CWE-400

Social media

Hype score
Not currently trending
  1. CVE-2025-59472 Denial of Service in Next.js Minimal Mode via Partial Prerendering Memory Exhaustion https://t.co/rBZdEwXREs

    @VulmonFeeds

    27 Jan 2026

    82 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. Vercel, Next.js’i kendi sunucusunda deploy edenler için iki önemli DoS açığını (CVE-2025-59471, CVE-2025-59472) duyurdu. next/image ile dış kaynaklardan görsel çekiliyorsa veya experimental.ppr açıksa, özel hazırlanmış isteklerle Node process OOM’a girip cra

    @ugurdanis

    27 Jan 2026

    73 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    1 Reply

    0 Quotes

  3. 🚀 Next.js v15.5.10 がリリースされました。 📦 種別: patch ✨ 主な変更点: • CVE-2025-59471およびCVE-2025-59472のセキュリティリリースに関する詳細 • CVE-2026-23864のセキュリティリリースに関する詳細 🔧 重要な修

    @darthnegi

    26 Jan 2026

    3 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  4. 🚀 Next.js v16.1.5 がリリースされました。 📦 種別: patch 🔧 重要な修正: • CVE-2025-59471のセキュリティ修正 • CVE-2025-59472のセキュリティ修正 • CVE-2026-23864のセキュリティ修正 #GitHub #Release #Next.js

    @darthnegi

    26 Jan 2026

    97 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  5. 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 una… https://t.co/zKlyYQVRKo

    @CVEnew

    26 Jan 2026

    174 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

Configurations

References

Sources include official advisories and independent security research.