PT-2026-23119

CVE-2026-27980

·

Published

2026-03-04

·

Updated

2026-09-18

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Next.js versions 10.0.0 through 16.1.6
Description Next.js, a React framework for building full-stack web applications, had an issue where the default image optimization disk cache (/ next/image) lacked a configurable upper bound, leading to unbounded cache growth. An attacker could exploit this by generating numerous unique image optimization variants, potentially exhausting disk space and causing a denial of service. The issue does not impact platforms with their own image optimization capabilities. The affected component is the image optimization disk cache. The vulnerable parameters include images.localPatterns, images.remotePatterns, and images.qualities, which control variant cardinality.
Recommendations Next.js versions prior to 16.1.7 should be upgraded to version 16.1.7. If upgrading is not immediately possible, periodically clean the .next/cache/images directory. As an alternative, reduce variant cardinality by tightening the values for images.localPatterns, images.remotePatterns, and images.qualities. Setting images.maximumDiskCacheSize: 0 disables disk caching.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-3X4C-7XQ6-9PQ8
CLEANSTART-2026-DI49367
Found an issue in the description? Have something to add? Feel free to write us 👾