Skip to main content

GHSA-5j59-xgg2-r9c4 — Vulnerability in next — Advisory Details

HIGH

Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

Published December 12, 2025Updated September 10, 2026Source: OSV

Does your project use an affected next version?

Paste your package-lock.json to check it for GHSA-5j59-xgg2-r9c4 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

It was discovered that the fix for CVE-2025-55184 in React Server Components was incomplete and did not fully mitigate denial-of-service conditions across all payload types. As a result, certain crafted inputs could still trigger excessive resource consumption.

This vulnerability affects React versions 19.0.2, 19.1.3, and 19.2.2, as well as frameworks that bundle or depend on these versions, including Next.js 13.x, 14.x, 15.x, and 16.x when using the App Router. The issue is tracked upstream as CVE-2025-67779.

A malicious actor can send a specially crafted HTTP request to a Server Function endpoint that, when deserialized, causes the React Server Components runtime to enter an infinite loop. This can lead to sustained CPU consumption and cause the affected server process to become unresponsive, resulting in a denial-of-service condition in unpatched environments.

Advisory Timeline

  • First published December 12, 2025 (349 days ago).
  • Last revised September 10, 2026 — 271 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update next to 15.1.11 or later
npm install next@15.1.11
npm
Update next to 15.5.9 or later
npm install next@15.5.9
npm
Update next to 15.4.10 or later
npm install next@15.4.10
npm
Update next to 15.2.8 or later
npm install next@15.2.8
npm
Update next to 15.6.0-canary.60 or later
npm install next@15.6.0-canary.60
npm
Update next to 15.0.7 or later
npm install next@15.0.7
npm
Update next to 16.1.0-canary.19 or later
npm install next@16.1.0-canary.19
npm
Update next to 14.2.35 or later
npm install next@14.2.35
npm
Update next to 15.3.8 or later
npm install next@15.3.8
npm
Update next to 16.0.10 or later
npm install next@16.0.10

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (10)

Affects 1 ecosystem: npm (1).

PackageFixed In
next npm · Affected: All versions15.1.11
next npm · Affected: All versions15.5.9
next npm · Affected: All versions15.4.10
next npm · Affected: All versions15.2.8
next npm · Affected: All versions15.6.0-canary.60
next npm · Affected: All versions15.0.7
next npm · Affected: All versions16.1.0-canary.19
next npm · Affected: All versions14.2.35
next npm · Affected: All versions15.3.8
next npm · Affected: All versions16.0.10

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Frequently Asked Questions

What is GHSA-5j59-xgg2-r9c4?
Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up. This vulnerability has been assigned a severity rating of HIGH.
How do I check if my project is affected by GHSA-5j59-xgg2-r9c4?
GHSA-5j59-xgg2-r9c4 affects next. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-5j59-xgg2-r9c4 and 200,000+ other known vulnerabilities.

Severity & Exploitability

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json