GHSA-5j59-xgg2-r9c4: Next Denial of Service Vulnerability
HIGHGHSA-5j59-xgg2-r9c4 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Next libraries in the npm ecosystem. The issue involves next has a denial of service with server components - incomplete fix follow-up. Remediation is available by upgrading affected packages to version 16.0.10, 16.1.0-canary.19, 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.
GHSA-5j59-xgg2-r9c4 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix GHSA-5j59-xgg2-r9c4
To remediate this vulnerability, upgrade all affected Next dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install next@16.0.10
npm install next@16.1.0-canary.19
npm install next@14.2.35
npm install next@15.0.7
npm install next@15.1.11
npm install next@15.2.8
npm install next@15.3.8
npm install next@15.4.10
npm install next@15.5.9
npm install next@15.6.0-canary.60
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls next
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-5j59-xgg2-r9c4, inspect your project dependencies using npm:
npm ls next
Analyze the terminal output to locate any version of Next in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.0.10), your application is affected.
Note: The npm ls next command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Next, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-5j59-xgg2-r9c4 Affected Next Versions
10 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
next
|
npm |
≥ 16.0.9
< 16.0.10
|
16.0.10
|
|
next
|
npm |
≥ 16.1.0-canary.17
< 16.1.0-canary.19
|
16.1.0-canary.19
|
|
next
|
npm |
≥ 13.3.1-canary.0
< 14.2.35
|
14.2.35
|
|
next
|
npm |
≥ 15.0.6
< 15.0.7
|
15.0.7
|
|
next
|
npm |
≥ 15.1.10
< 15.1.11
|
15.1.11
|
|
next
|
npm |
≥ 15.2.7
< 15.2.8
|
15.2.8
|
|
next
|
npm |
≥ 15.3.7
< 15.3.8
|
15.3.8
|
|
next
|
npm |
≥ 15.4.9
< 15.4.10
|
15.4.10
|
|
next
|
npm |
≥ 15.5.8
< 15.5.9
|
15.5.9
|
|
next
|
npm |
≥ 15.6.0-canary.59
< 15.6.0-canary.60
|
15.6.0-canary.60
|
References
Frequently Asked Questions
What is GHSA-5j59-xgg2-r9c4?
Which Next versions are affected?
What version fixes GHSA-5j59-xgg2-r9c4?
Is next affected?
What is the CVSS score of GHSA-5j59-xgg2-r9c4?
What CWE is associated with GHSA-5j59-xgg2-r9c4?
How can I check npm dependencies for GHSA-5j59-xgg2-r9c4?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5j59-xgg2-r9c4",
"modified" : "2026-01-15T21:55:04Z",
"published" : "2025-12-12T17:21:57Z",
"aliases" : [ ],
"summary" : "Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up",
"details" : "It was discovered that the fix for [CVE-2025-55184](https://github.com/advisories/GHSA-2m3v-v2m8-q956) 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. \n\nThis 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](https://www.cve.org/CVERecord?id=CVE-2025-67779).\n\nA 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "13.3.1-canary.0"
}, {
"fixed" : "14.2.35"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.6"
}, {
"fixed" : "15.0.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.1.10"
}, {
"fixed" : "15.1.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.2.7"
}, {
"fixed" : "15.2.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.3.7"
}, {
"fixed" : "15.3.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.4.9"
}, {
"fixed" : "15.4.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.5.8"
}, {
"fixed" : "15.5.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.6.0-canary.59"
}, {
"fixed" : "15.6.0-canary.60"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.0.9"
}, {
"fixed" : "16.0.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.1.0-canary.17"
}, {
"fixed" : "16.1.0-canary.19"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/security/advisories/GHSA-5j59-xgg2-r9c4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67779"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vercel/next.js"
}, {
"type" : "WEB",
"url" : "https://nextjs.org/blog/security-update-2025-12-11"
}, {
"type" : "WEB",
"url" : "https://react.dev/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord?id=CVE-2025-55184"
}, {
"type" : "WEB",
"url" : "https://www.facebook.com/security/advisories/cve-2025-67779"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395", "CWE-400", "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-12T17:21:57Z",
"nvd_published_at" : "2025-12-12T00:15:46Z"
}
}