Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-27980

next.js: Next.js: Unbounded next/image disk cache growth can exhaust storage

Overview

Published
18 Mar 2026
Modified
17 Jun 2026
Medium CVE
3 Registry packages
9 OS packages
3 Linux distributions
Yes Fix available

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).

Source: OX vulnerability database

Severity

7.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-400

Affected packages · 3

Packages affected by CVE-2026-27980
EcosystemPackageVulnerableFixed in
npm next >=16.0.0-beta.0, <16.1.7>=10.0.0, <15.5.14 16.1.715.5.14
Seal npm @seal-security/next >=16.0.6-sp1, <16.0.6-sp999 16.0.6-sp999
Seal npm next >=16.0.6-sp0, <16.0.6-sp999 16.0.6-sp999

Open a package to see all its vulnerabilities.

Operating systems · 10 fixes

chainguard 1 release · 7 packages

fixed 7
keep jitsucom-jitsu langfuse-2 langfuse-fips-2 langfuse-fips-3 langfuse-3 +1
chainguard fixes for CVE-2026-27980
ReleasePackageFixed in
keep +1 0.51.0-r5
jitsucom-jitsu 2.11.0-r17
langfuse-2 2.95.12-r14
langfuse-fips-2 2.95.12-r17
langfuse-fips-3 3.162.0-r0
langfuse-3 3.162.0-r1

1 more row

minimos 1 release · 1 package

fixed 1
trigger-dev
minimos fixes for CVE-2026-27980
ReleasePackageFixed in
trigger-dev 4.5.0-r0

wolfi 1 release · 2 packages

fixed 2
jitsucom-jitsu langfuse-3
wolfi fixes for CVE-2026-27980
ReleasePackageFixed in
jitsucom-jitsu 2.11.0-r17
langfuse-3 3.162.0-r1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.