{"id":"CVE-2025-59471","published":"2026-01-26T21:43:05Z","modified":"2026-01-27T14:55:15Z","title":"A denial of service vulnerability exists in self-hosted Next.js applications that have `remotePatterns` configured for…","vendor":"vercel","product":"next","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00574,"percentile":0.41302,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-9g9p-9gw9-jx7f","tags":[]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":8.26},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"vercel","affectedVersions":[{"vendor":"vercel","product":"next","versions":[">= 10.0, < 10.0",">= 11.0, < 11.0",">= 12.0, < 12.0",">= 13.0, < 13.0",">= 14.0, < 14.0",">= 15.0, < 15.5.10",">= 16.0, < 16.1.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T14:54:47.995347Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"next","vulnerableRanges":[">=10.0.0, <15.5.10",">=15.6.0-canary.0, <16.1.5"],"patched":["15.5.10","16.1.5"],"from":["GHSA-9g9p-9gw9-jx7f"],"provenance":"source"}],"summary":{"text":"A denial of service flaw exists in self-hosted Next.js applications where the Image Optimizer's /_next/image endpoint loads external images fully into memory without a maximum size limit. An attacker with network access and no authentication or user interaction can trigger out-of-memory conditions by requesting optimization of a very large image, but only when remotePatterns is configured to allow external image domains and the attacker can serve or control a large image on one of those allowed domains.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:35Z"},"euvd":{"id":"EUVD-2025-206334","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vercel-next-js-cve-2024-47831","children":[{"from":"CVE-2025-59471","to":"CVE-2026-27980","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/next/src/shared/lib/image-config.ts"],"commits":["https://github.com/vercel/next.js/commit/500ec83743639addceaede95e95913398975156c","https://github.com/vercel/next.js/commit/e5b834d208fe0edf64aa26b5d76dcf6a176500ec","https://github.com/vercel/next.js/commit/39eb8e0ac498b48855a0430fbf4c22276a73b4bd"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-55173","published":"2025-08-29","fixed":"15.4.5","kev":false},{"cve":"CVE-2025-57752","published":"2025-08-29","fixed":"15.4.5","kev":false},{"cve":"CVE-2025-57822","published":"2025-08-29","fixed":"15.4.7","kev":false,"link":{"from":"CVE-2025-57822","to":"CVE-2025-59471","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:next","fromFixed":"15.4.7","toFixed":"15.5.10","daysApart":150}]}},{"cve":"CVE-2025-59471","published":"2026-01-26","fixed":"16.1.5","kev":false},{"cve":"CVE-2025-59472","published":"2026-01-26","fixed":"16.1.5","kev":false},{"cve":"CVE-2026-27977","published":"2026-03-17","fixed":"16.1.7","kev":false},{"cve":"CVE-2026-27978","published":"2026-03-17","fixed":"16.1.7","kev":false},{"cve":"CVE-2026-29057","published":"2026-03-18","fixed":"16.1.7","kev":false,"link":{"from":"CVE-2025-59471","to":"CVE-2026-29057","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:next","fromFixed":"15.5.10","toFixed":"15.5.13","daysApart":51}]}}],"package":"npm:next"}}