cve.bz

CVE-2025-59472 vercel next.js: Uncontrolled Resource Consumption

7.5 highEPSS 0.4%Fix available

High (7.5) in vercel next.js. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in next 15.6.0-canary.61, 16.1.5.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-01-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-59472 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59472?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59472?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59472 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
vercel nextfrom 15.0.0-canary.0 before 15.0.0
vercel nextfrom 15.0.1-canary.0 before 15.0.1
vercel nextfrom 15.0.2-canary.0 before 15.0.2
vercel nextfrom 15.0.3-canary.0 before 15.0.3
vercel nextfrom 15.0.4-canary.0 before 15.0.4
vercel nextfrom 15.1.0-canary.0 before 15.1.0
vercel nextfrom 15.1.1-canary.0 before 15.1.1
vercel nextfrom 15.1.2-canary.0 before 15.1.2
vercel nextfrom 15.1.3-canary.0 before 15.1.3
vercel nextfrom 15.1.4-canary.0 before 15.1.4
vercel nextfrom 15.1.5-canary.0 before 15.1.5
vercel nextfrom 15.1.6-canary.0 before 15.1.6
vercel nextfrom 15.1.7-canary.0 before 15.1.7
vercel nextfrom 15.2.0-canary.0 before 15.2.0
vercel nextfrom 15.2.1-canary.0 before 15.2.1
vercel nextfrom 15.2.2-canary.0 before 15.2.2
vercel nextfrom 15.2.3-canary.0 before 15.2.3
vercel nextfrom 15.2.4-canary.0 before 15.2.4
vercel nextfrom 15.2.5-canary.0 before 15.2.5
vercel nextfrom 15.3.0-canary.0 before 15.3.0
vercel nextfrom 15.3.1-canary.0 before 15.3.1
vercel nextfrom 15.3.2-canary.0 before 15.3.2
vercel nextfrom 15.1.8-canary.0 before 15.1.8
vercel nextfrom 15.3.3-canary.0 before 15.3.3
vercel nextfrom 15.4.0-canary.0 before 15.4.0
vercel nextfrom 15.3.4-canary.0 before 15.3.4
vercel nextfrom 15.3.5-canary.0 before 15.3.5
vercel nextfrom 15.4.1-canary.0 before 15.4.1
vercel nextfrom 15.4.2-canary.0 before 15.4.2
vercel nextfrom 15.4.3-canary.0 before 15.4.3
vercel nextfrom 15.4.4-canary.0 before 15.4.4
vercel nextfrom 15.4.5-canary.0 before 15.4.5
vercel nextfrom 15.4.6-canary.0 before 15.4.6
vercel nextfrom 15.4.7-canary.0 before 15.4.7
vercel nextfrom 15.5.0-canary.0 before 15.5.0
vercel nextfrom 15.5.1-canary.0 before 15.5.1
vercel nextfrom 15.5.2-canary.0 before 15.5.2
vercel nextfrom 15.5.3-canary.0 before 15.5.3
vercel nextfrom 15.5.4-canary.0 before 15.5.4
vercel nextfrom 15.5.5-canary.0 before 15.5.5
vercel nextfrom 15.5.6-canary.0 before 15.5.6
vercel nextfrom 15.5.7-canary.0 before 15.5.7
vercel nextfrom 15.4.8-canary.0 before 15.4.8
vercel nextfrom 15.1.9-canary.0 before 15.1.9
vercel nextfrom 15.0.5-canary.0 before 15.0.5
vercel nextfrom 15.3.6-canary.0 before 15.3.6
vercel nextfrom 15.2.6-canary.0 before 15.2.6
vercel nextfrom 15.5.8-canary.0 before 15.5.8
vercel nextfrom 15.4.9-canary.0 before 15.4.9
vercel nextfrom 15.3.7-canary.0 before 15.3.7
vercel nextfrom 15.2.7-canary.0 before 15.2.7
vercel nextfrom 15.1.10-canary.0 before 15.1.10
vercel nextfrom 15.0.6-canary.0 before 15.0.6
vercel nextfrom 15.5.9-canary.0 before 15.5.9
vercel nextfrom 15.4.10-canary.0 before 15.4.10
vercel nextfrom 15.3.8-canary.0 before 15.3.8
vercel nextfrom 15.2.8-canary.0 before 15.2.8
vercel nextfrom 15.1.11-canary.0 before 15.1.11
vercel nextfrom 15.0.7-canary.0 before 15.0.7
vercel nextfrom 16.1.0 before 16.1.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5f7q-jpqc-wp7hnpmnext>=16.0.0-beta.0 <16.1.516.1.5
GHSA-5f7q-jpqc-wp7hnpmnext>=15.0.0-canary.0 <=15.0.0-canary.205no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.0.1-canary.0 <=15.0.1-canary.3no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.0.2-canary.0 <=15.0.2-canary.11no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.0.3-canary.0 <=15.0.3-canary.9no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.0.4-canary.0 <=15.0.4-canary.52no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.1.1-canary.0 <=15.1.1-canary.27no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.2.0-canary.0 <=15.2.0-canary.77no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.2.1-canary.0 <=15.2.1-canary.6no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.2.2-canary.0 <=15.2.2-canary.7no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.3.0-canary.0 <=15.3.0-canary.46no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.3.1-canary.0 <=15.3.1-canary.15no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.4.0-canary.0 <=15.4.0-canary.130no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.4.2-canary.0 <=15.4.2-canary.56no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.5.1-canary.0 <=15.5.1-canary.39no fix published
GHSA-5f7q-jpqc-wp7hnpmnext>=15.6.0-canary.0 <15.6.0-canary.6115.6.0-canary.61

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10firefoxFix deferred
Red Hat Enterprise Linux 10thunderbirdFix deferred
Red Hat Enterprise Linux 7firefoxFix deferred
Red Hat Enterprise Linux 8firefoxFix deferred
Red Hat Enterprise Linux 8thunderbirdFix deferred
Red Hat Enterprise Linux 9dotnet7.0Fix deferred
Red Hat Enterprise Linux 9firefoxFix deferred
Red Hat Enterprise Linux 9thunderbirdFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Fix deferred
Red Hat Trusted Artifact Signerrhtas/rekor-search-ui-rhel9Fix deferred
streams for Apache Kafka 2com.github.streamshub-consoleFix deferred
streams for Apache Kafka 3com.github.streamshub-consoleFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59472.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON