{"cve":"CVE-2026-27980","nvd":{"published":"2026-03-18T01:16:04.957","modified":"2026-06-17T10:28:00.700","status":"Analyzed","description":"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`).","cvss_v4":{"vector":"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","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd","https://github.com/vercel/next.js/releases/tag/v16.1.7","https://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8"],"products":["vercel:next.js"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-27980","score":0.0071,"percentile":0.53534,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3x4c-7xq6-9pq8","url":"https://osv.dev/vulnerability/GHSA-3x4c-7xq6-9pq8","summary":"Next.js: Unbounded next/image disk cache growth can exhaust storage","modified":"2026-09-10T03:50:36.950018769Z","packages":[{"ecosystem":"npm","name":"next","purl":"pkg:npm/next","ranges":[">=16.0.0-beta.0 <16.1.7"],"fixed":["16.1.7"]},{"ecosystem":"npm","name":"next","purl":"pkg:npm/next","ranges":[">=10.0.0 <15.5.14"],"fixed":["15.5.14"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}