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

Not scored Published

Attackers can cause denial of service in Next.js apps by sending crafted requests to Server Function endpoints, triggering infinite loops in React Server Components.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-5j59-xgg2-r9c4?

GHSA-5j59-xgg2-r9c4 is a denial of service vulnerability in next, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Which versions are affected by GHSA-5j59-xgg2-r9c4?

20 open source packages ship an affected version, including next.

PackageAffectedFixed in
next npmFrom 13.3.1-canary.014.2.35
next npmFrom 13.3.1-canary.014.2.35
next npmFrom 15.0.615.0.7
next npmFrom 15.0.615.0.7
next npmFrom 15.1.1015.1.11
next npmFrom 15.1.1015.1.11
14 more packages
next npmFrom 15.2.715.2.8
next npmFrom 15.2.715.2.8
next npmFrom 15.3.715.3.8
next npmFrom 15.3.715.3.8
next npmFrom 15.4.915.4.10
next npmFrom 15.4.915.4.10
next npmFrom 15.5.815.5.9
next npmFrom 15.5.815.5.9
next npmFrom 15.6.0-canary.5915.6.0-canary.60
next npmFrom 15.6.0-canary.5915.6.0-canary.60
next npmFrom 16.0.916.0.10
next npmFrom 16.0.916.0.10
next npmFrom 16.1.0-canary.1716.1.0-canary.19
next npmFrom 16.1.0-canary.1716.1.0-canary.19

How do I fix GHSA-5j59-xgg2-r9c4?

Upgrade next to a fixed version for your release line: 14.2.35, 15.0.7, 15.1.11 or 15.2.8.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GHSA-5j59-xgg2-r9c4 being exploited?

There is no known exploitation of GHSA-5j59-xgg2-r9c4 in the wild and no public exploit code.

Sources

Is GHSA-5j59-xgg2-r9c4 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free