CVE-2026-27980 json
Next.js: Unbounded next/image disk cache growth can exhaust storage
published 2026-03-16 7 mo ago modified 2026-09-10 59 d ago also EUVD-2026-12694 , GHSA-3x4c-7xq6-9pq8
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
Next.js is a React framework for building full-stack web applications. Starting in version 10.0.0 and prior to version 16.1.7, the default Next.js image optimization disk cache (`/_next/image`) did not have a configurable upper bound, allowing unbounded cache growth. An attacker could generate many unique image-optimization variants and exhaust disk space, causing denial of service. This is fixed in version 16.1.7 by adding an LRU-backed disk cache with `images.maximumDiskCacheSize`, including eviction of least-recently-used entries when the limit is exceeded. Setting `maximumDiskCacheSize: 0` disables disk caching. If upgrading is not immediately possible, periodically clean `.next/cache/images` and/or reduce variant cardinality (e.g., tighten values for `images.localPatterns`, `images.remotePatterns`, and `images.qualities`).
Patch / fix
- npm next 15.5.14, 16.1.7
- vercel next.js 16.1.7
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-27980 updated cvss 5.3
next.js: Next.js: Unbounded next/image disk cache growth can exhaust storage
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/disk-image-cuda-rhel9affected: workaround, no fix available
-
Red Hat Streams for Apache Kafka 2.9.4fixed: vendor fix RHSA-2026:34608
-
Red Hat Streams for Apache Kafka 3.2.0fixed: vendor fix RHSA-2026:13571
-
Red Hat Enterprise Linux 9 dotnet7.0, dotnet-host, dotnet-sdk-7.0, dotnet-hostfxr-7.0, dotnet-runtime-7.0, dotnet-templates-7.0, +6 more Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | next | >=16.0.0-beta.0, <16.1.7 >=10.0.0, <15.5.14 |
16.1.7 15.5.14 |
Affected products
- vercel next.js
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
- Technology feeds
References
-
github.com
/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
web, patch
-
github.com
/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
web, mitigation, vendor-advisory, advisory
-
github.com
/vercel/next.js/releases/tag/v16.1.7
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-27980
advisory
-
github.com
/vercel/next.js
package
Sources
- CVE List CVE-2026-27980
- GitHub Advisory GHSA-3x4c-7xq6-9pq8
- NVD CVE-2026-27980
- Maintainer advisory GHSA-3x4c-7xq6-9pq8
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of vercel/next.js published their own advisory on GitHub. Reviewed sources take precedence over it.