Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. next
  4. ›
  5. CVE-2026-27980

CVE-2026-27980: Next.js: Unbounded next/image disk cache growth can exhaust storage

March 17, 2026 (updated March 19, 2026)

The default Next.js image optimization disk cache (/_next/image) did not have a configurable upper bound, allowing unbounded cache growth.

References

  • github.com/advisories/GHSA-3x4c-7xq6-9pq8
  • github.com/vercel/next.js
  • github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd
  • github.com/vercel/next.js/releases/tag/v16.1.7
  • github.com/vercel/next.js/security/advisories/GHSA-3x4c-7xq6-9pq8
  • nvd.nist.gov/vuln/detail/CVE-2026-27980

Code Behaviors & Features

Detect and mitigate CVE-2026-27980 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 10.0.0 before 15.5.14, all versions starting from 16.0.0-beta.0 before 16.1.7

Fixed versions

  • 16.1.7
  • 15.5.14

Solution

Upgrade to versions 15.5.14, 16.1.7 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/next/CVE-2026-27980.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:34 +0000.