SCA: security update for next (GHSA-5f7q-jpqc-wp7h)

high Tenable Cloud Security Plugin ID 437343

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2025-59472)

See Also

https://github.com/advisories/GHSA-5f7q-jpqc-wp7h

Plugin Details

Severity: High

ID: 437343

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/28/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2025-59472

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/28/2026

Vulnerability Publication Date: 1/26/2026

Reference Information

CVE: CVE-2025-59472

IAVA: 2026-A-0090

cwe: CWE-400, CWE-409, CWE-770