Resource exhaustion in Next.js - CVE-2026-27980

 

Resource exhaustion in Next.js - CVE-2026-27980

Published: March 17, 2026


Vulnerability identifier: #VU124057
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-27980
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the image optimization disk cache (/_next/image) does not have a configurable upper bound, allowing unbounded cache growth. A remote attacker can generate multiple unique image-optimization variants and exhaust disk space leading to a denial of service condition. 


Affected software

Next.js

How to mitigate CVE-2026-27980

Install updates from vendor's website.

Next.js - addressed in versions 15.5.13, 16.1.7

External References

Related Security Bulletins