Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. next
  4. ›
  5. GHSA-5j59-xgg2-r9c4

GHSA-5j59-xgg2-r9c4: Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

December 12, 2025

It was found that the fix addressing CVE-2025-55184 in React Server Components was incomplete and did not fully prevent denial-of-service attacks in all payload types. This affects React package versions 19.0.2, 19.1.3, and 19.2.2 and frameworks that use the affected packages, including Next.js 13.x, 14.x, 15.x and 16.x using the App Router. The issue is tracked upstream as CVE-2025-67779.

A malicious HTTP request can be crafted and sent to any Server Function endpoint that, when deserialized, can enter an infinite loop within the React Server Components runtime. This can cause the server process to hang and consume CPU, resulting in denial of service in unpatched environments.

References

  • github.com/advisories/GHSA-5j59-xgg2-r9c4
  • github.com/vercel/next.js
  • github.com/vercel/next.js/security/advisories/GHSA-5j59-xgg2-r9c4
  • nextjs.org/blog/security-update-2025-12-11
  • nvd.nist.gov/vuln/detail/CVE-2025-67779
  • react.dev/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components
  • www.cve.org/CVERecord?id=CVE-2025-55184
  • www.facebook.com/security/advisories/cve-2025-67779

Code Behaviors & Features

Detect and mitigate GHSA-5j59-xgg2-r9c4 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 13.3.1-canary.0 before 14.2.35, all versions starting from 15.0.6 before 15.0.7, all versions starting from 15.1.10 before 15.1.11, all versions starting from 15.2.7 before 15.2.8, all versions starting from 15.3.7 before 15.3.8, all versions starting from 15.4.9 before 15.4.10, all versions starting from 15.5.8 before 15.5.9, all versions starting from 15.6.0-canary.59 before 15.6.0-canary.60, all versions starting from 16.0.9 before 16.0.10, all versions starting from 16.1.0-canary.17 before 16.1.0-canary.19

Fixed versions

  • 14.2.35
  • 15.0.7
  • 15.1.11
  • 15.2.8
  • 15.3.8
  • 15.4.10
  • 15.5.9
  • 15.6.0-canary.60
  • 16.0.10
  • 16.1.0-canary.19

Solution

Upgrade to versions 14.2.35, 15.0.7, 15.1.11, 15.2.8, 15.3.8, 15.4.10, 15.5.9, 15.6.0-canary.60, 16.0.10, 16.1.0-canary.19 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1395: Dependency on Vulnerable Third-Party Component
  • CWE-400: Uncontrolled Resource Consumption
  • CWE-502: Deserialization of Untrusted Data

Source file

npm/next/GHSA-5j59-xgg2-r9c4.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:20:48 +0000.