Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-qz2s-22e2-ufg9
Vulnerability ID VCID-qz2s-22e2-ufg9
Aliases CVE-2026-27980
GHSA-3x4c-7xq6-9pq8
Summary Next.js: Unbounded next/image disk cache growth can exhaust storage ## Summary The default Next.js image optimization disk cache (`/_next/image`) did not have a configurable upper bound, allowing unbounded cache growth. ## Impact An attacker could generate many unique image-optimization variants and exhaust disk space, causing denial of service. Note that this does not impact platforms that have their own image optimization capabilities, such as Vercel. ## Patches Fixed 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. ## Workarounds If upgrade is not immediately possible: - Periodically clean `.next/cache/images`. - Reduce variant cardinality (e.g., tighten values for `images.localPatterns`, `images.remotePatterns`, and `images.qualities`)
Status Published
Exploitability 0.5
Weighted Severity 6.2
Risk 3.1
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
cvssv3 5.3 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-27980.json
epss 0.00018 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00018 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00021 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00021 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00021 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00021 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00021 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00021 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00021 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00021 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00022 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00022 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00022 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
epss 0.00022 https://api.first.org/data/v1/epss?cve=CVE-2026-27980
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-3x4c-7xq6-9pq8
cvssv4 6.9 https://github.com/vercel/next.js
generic_textual MODERATE https://github.com/vercel/next.js
cvssv4 6.9 https://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
generic_textual MODERATE https://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
ssvc Track https://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
cvssv4 6.9 https://github.com/vercel/next.js/releases/tag/v16.1.7
generic_textual MODERATE https://github.com/vercel/next.js/releases/tag/v16.1.7
ssvc Track https://github.com/vercel/next.js/releases/tag/v16.1.7
cvssv3.1_qr MODERATE https://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
cvssv4 6.9 https://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
generic_textual MODERATE https://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
ssvc Track https://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
cvssv4 6.9 https://nvd.nist.gov/vuln/detail/CVE-2026-27980
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2026-27980
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-27980.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

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 Found at https://github.com/vercel/next.js
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

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 Found at https://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-18T19:50:06Z/ Found at https://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
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 Found at https://github.com/vercel/next.js/releases/tag/v16.1.7
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-18T19:50:06Z/ Found at https://github.com/vercel/next.js/releases/tag/v16.1.7
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 Found at https://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-18T19:50:06Z/ Found at https://github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
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 Found at https://nvd.nist.gov/vuln/detail/CVE-2026-27980
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.0444
EPSS Score 0.00018
Published At April 2, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-04-01T12:53:48.009285+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-3x4c-7xq6-9pq8/GHSA-3x4c-7xq6-9pq8.json 38.0.0