Next.js
Next.js: Denial of Service via connection exhaustion in applications using Cache Components
Next.js is a React framework for building full-stack web applications. From to before 15.5.16 and 16.2.5, applications using Partial Prerendering through the Cache Components feature can be vulnerable to connection exhaustion through crafted POST requests to a server action. In affected configurations, a malicious request can trigger a request-body handling deadlock that leaves connections open for an extended period, consuming file descriptors and server capacity until legitimate users are denied service. This vulnerability is fixed in 15.5.16 and 16.2.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 16.0.0, < 16.2.5
- >= 15.0.0, < 15.5.16
Fixed in 16.2.5, 15.5.16
Mitigation
Upgrade next.js to 16.2.5 or 15.5.16 or later.
References
- Vendor advisory github.com/vercel/next.js/security/advisories/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| iamfarzad/fbcounsulting_v2 | 31 Mar 2025 −1.1 y | 0 | Pending · repository exceeds size limit |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.