{
  "id": "CVE-2025-59471",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-59471",
  "published_at": "2026-01-26T21:43:05.094Z",
  "vendor": "vercel",
  "product": "next",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A denial of service vulnerability exists in self-hosted Next.js applications that have `remotePatterns` configured for the Image Optimizer. The image optimization endpoint (`/_next/image`) loads external images entirely into memory without enforcing a maximum size limit, allowing an attacker to cause out-of-memory conditions by requesting optimization of arbitrarily large images. This vulnerability requires that `remotePatterns` is configured to allow image optimization from external domains and that the attacker can serve or control a large image on an allowed domain.\r\n\r\nStrongly consider upgrading to 15.5.10 or 16.1.5 to reduce risk and prevent availability issues in Next applications.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.9,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "vercel",
        "product": "next",
        "ranges": [
          "\u003e= 10.0, \u003c 10.0",
          "\u003e= 11.0, \u003c 11.0",
          "\u003e= 12.0, \u003c 12.0",
          "\u003e= 13.0, \u003c 13.0",
          "\u003e= 14.0, \u003c 14.0",
          "\u003e= 15.0, \u003c 15.5.10",
          "\u003e= 16.0, \u003c 16.1.5"
        ],
        "fixed_in": [
          "10.0",
          "11.0",
          "12.0",
          "13.0",
          "14.0",
          "15.5.10",
          "16.1.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade next to 10.0 or 11.0 or 12.0 or 13.0 or 14.0 or 15.5.10 or 16.1.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/vercel/next.js/security/advisories/GHSA-9g9p-9gw9-jx7f"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
