nday
CVE-2026-27980 GHSA-3x4c-7xq6-9pq8

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

vercel / next.js

A public PoC appeared 247 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: github. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

resource exhaustion
CWE-400, stated by the CNA GitHub_M and NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in 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 (CVSS 4.0) from the CNA GitHub_M
network
AV:N in 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 (CVSS 4.0) from the CNA GitHub_M
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA GitHub_M
Next.js
affected products in the CVE record: vercel · next.jsCPE names NVD's analysts give as vulnerable: a:vercel:next.js
open-source library / framework
affected products in the CVE record: vercel · next.jsCPE names NVD's analysts give as vulnerable: a:vercel:next.jsthe product type of Next.js in nday's product registry
stage
POC
disclosed
disclosure → PoC
T+247d POC is date-only
cvss
6.9 MEDIUM v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
03-18T00:23Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
11-20, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 6.9, medium.

src cvelist · nday , bulk import · raw
{
  "id": 415197,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-27980",
  "occurred_at": "2026-03-18T00:23:34.862Z",
  "observed_at": "2026-11-13T05:39:40.745403Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "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",
      "version": "4.0",
      "base_score": 6.9,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-03-18T19:50:06.816613Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-03-18T00:23:34.862Z",
    "assigner_short_name": "GitHub_M"
  }
}
2026-11-20date only, from source
+POCpublic PoC

PoC repository on GitHub: aheybati/CVE-2026-27980. The date is the repository's creation day.

src github 1465788815 · nday , observed live · raw
{
  "id": 498264,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/aheybati/CVE-2026-27980",
  "occurred_at": "2026-11-20T18:49:28Z",
  "observed_at": "2026-11-20T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1465788815",
  "detail": {
    "url": "https://github.com/aheybati/CVE-2026-27980",
    "title": "aheybati/CVE-2026-27980",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

1 researcher mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

  1. 2026-11-20

    Post by @abbas_heybati on 2026-11-20. Sign in to read it.

Sign in to read 1 post.

sign in to read

Discussion

0 comments

No comments yet.