CVE-2026-27980Next.js: Unbounded next/image disk cache growth can exhaust storage
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.0% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.0%
- percentile 61%
- Fix
- Named by a source
- CVE published 18 Mar 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.0% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- next (npm): upgrade to 16.1.7 / 15.5.14 or later on your release line.
- Patch: https://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
- Mitigation: https://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-27980
Who should check
next (npm) pkg:npm/next
- Affected>= 16.0.0-beta.0, < 16.1.7Fixed in16.1.7OSV (GHSA-3x4c-7xq6-9pq8)
- Affected>= 10.0.0, < 15.5.14Fixed in15.5.14OSV (GHSA-3x4c-7xq6-9pq8)
vercel next.js product:vercel/nextjs
- Affected>= 10.0.0, < 16.1.7Affected range ends before16.1.7as published by CNA (CVE List)
- Affected>= 10.0.0, < 16.1.7Affected range ends before16.1.7as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-400
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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`).
Update history
- 18 Mar 2026Published
References
- patchhttps://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
- otherhttps://github.com/vercel/next.js/releases/tag/v16.1.7
- mitigationhttps://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-27980
- otherhttps://github.com/vercel/next.js
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-27980 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-3x4c-7xq6-9pq8 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 29 min ago · osv 29 min ago · nvd 2 h ago · epss 29 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-3x4c-7xq6-9pq8