{"id":"DHI-xgh6-jxm5-gmk4-7krg","summary":"A denial of service vulnerability exists in self-hosted Next.js applications that have `remotePatterns` configured for…","details":"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.","modified":"2026-11-17T04:15:03.393424110Z","published":"2026-11-11T18:58:10Z","upstream":["CVE-2025-59471"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-xgh6-jxm5-gmk4-7krg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59471"},{"type":"ADVISORY","url":"https://github.com/vercel/next.js/security/advisories/GHSA-9g9p-9gw9-jx7f"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9g9p-9gw9-jx7f"},{"type":"FIX","url":"https://github.com/vercel/next.js/commit/e5b834d208fe0edf64aa26b5d76dcf6a176500ec"},{"type":"FIX","url":"https://github.com/vercel/next.js/commit/500ec83743639addceaede95e95913398975156c"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v16.1.5"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v15.5.10"}],"affected":[{"package":{"name":"langfuse-2","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/langfuse-2"},"versions":["2.95.12-0","2.95.12-1","2.95.12-10","2.95.12-11","2.95.12-12","2.95.12-13","2.95.12-2","2.95.12-3","2.95.12-4","2.95.12-5","2.95.12-6","2.95.12-7","2.95.12-8","2.95.12-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-xgh6-jxm5-gmk4-7krg.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}