{"id":"CVE-2026-64644","aliases":["GHSA-q8wf-6r8g-63ch"],"summary":"Next.js: Denial of Service in the Image Optimization API using SVGs","published_at":"2026-07-22T23:02:05Z","modified_at":"2026-10-21T06:42:02Z","products":[],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006659999955445528,"percentile":0.5264999866485596,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"details":"Next.js is a React framework for building full-stack web applications. In versions 15.5.0 through 15.5.20 and 16.0.0 through 16.2.10, when self-hosting Next.js with the default image loader, the Image Optimization API can optimize remotely hosted images if configured (not enabled by default). If those images contain malicious content, they can cause CPU exhaustion in /_next/image endpoints.Only config.images.remotePatterns is affected, and just the patterns in that array, whereas config.images.unoptimized: true, config.images.loader: 'custom', and Vercel are not impacted. This issue has been fixed in versions 15.5.21 and 16.2.11.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"vercel/next.js","versions":[">= 15.5.0, < 15.5.21",">= 16.0.0, < 16.2.11"],"provider":"cvelistv5","source":"CVE-2026-64644","relation":"self"},{"ecosystem":"NVD","package":"vercel:next.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.5.0"},{"fixed":"15.5.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.0.0"},{"fixed":"16.2.11"}]}],"fixed":["15.5.21","16.2.11"],"provider":"nvd","source":"CVE-2026-64644","relation":"self"},{"ecosystem":"npm","package":"next","purl":"pkg:npm/next","ranges":[{"type":"SEMVER","events":[{"introduced":"15.5.0"},{"fixed":"15.5.21"}]}],"fixed":["15.5.21"],"provider":"osv","source":"GHSA-q8wf-6r8g-63ch","relation":"self"},{"ecosystem":"npm","package":"next","purl":"pkg:npm/next","ranges":[{"type":"SEMVER","events":[{"introduced":"16.0.0"},{"fixed":"16.2.11"}]}],"fixed":["16.2.11"],"provider":"osv","source":"GHSA-q8wf-6r8g-63ch","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","cpe":"cpe:/a:redhat:enterprise_linux:10","status":"not_affected","packages":["firefox"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","cpe":"cpe:/a:redhat:enterprise_linux:10","status":"not_affected","packages":["thunderbird"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["firefox"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["firefox"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["thunderbird"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["firefox","firefox-x11"],"package_count":2,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["thunderbird"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"not_affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Trusted Artifact Signer","cpe":"cpe:/a:redhat:trusted_artifact_signer:1","status":"not_affected","packages":["rhtas/rekor-search-ui-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Streams for Apache Kafka 3.2.1","cpe":"cpe:/a:redhat:amq_streams:3.2::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:54435"],"provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"streams for Apache Kafka 2","cpe":"cpe:/a:redhat:amq_streams:2","status":"not_affected","packages":["next"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64644"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2468","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2468","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-07-21T22:00:00Z","modified_at":"2026-10-04T22:00:00Z","summary":"Vercel Next.js: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Vercel Next.js ausnutzen, um Daten zu manipulieren, um Informationen offenzulegen, um einen Denial of Service Angriff durchzuführen, und um Sicherheitsvorkehrungen zu umgehen.\n\nNext.js ist ein Framework für React-basierte Web-Anwendungen.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2026-2468"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2468.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2468"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-4633-3j49-mh5q"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-4c39-4ccg-62r3"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-68g3-v927-f742"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-6gpp-xcg3-4w24"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-89xv-2m56-2m9x"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-955p-x3mx-jcvp"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-m99w-x7hq-7vfj"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-p9j2-gv94-2wf4"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63ch"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:54435"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7290733"}]},{"provider":"cvelistv5","source_id":"CVE-2026-64644","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-64644","license":"CC-BY-4.0","published_at":"2026-07-27T17:54:52.53Z","modified_at":"2026-07-27T18:35:41.443Z","summary":"Next.js: Denial of Service in the Image Optimization API using SVGs","details":"Next.js is a React framework for building full-stack web applications. In versions 15.5.0 through 15.5.20 and 16.0.0 through 16.2.10, when self-hosting Next.js with the default image loader, the Image Optimization API can optimize remotely hosted images if configured (not enabled by default). If those images contain malicious content, they can cause CPU exhaustion in /_next/image endpoints.Only config.images.remotePatterns is affected, and just the patterns in that array, whereas config.images.unoptimized: true, config.images.loader: 'custom', and Vercel are not impacted. This issue has been fixed in versions 15.5.21 and 16.2.11.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","source":"CVE-2026-64644"}],"affected":[{"ecosystem":"CVE","package":"vercel/next.js","versions":[">= 15.5.0, < 15.5.21",">= 16.0.0, < 16.2.11"],"provider":"cvelistv5","source":"CVE-2026-64644","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63ch"},{"type":"WEB","url":"https://github.com/vercel/next.js/pull/96006"},{"type":"WEB","url":"https://github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766c"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v15.5.21"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v16.2.11"}]},{"provider":"nvd","source_id":"CVE-2026-64644","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64644","severity":[],"affected":[{"ecosystem":"NVD","package":"vercel:next.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.5.0"},{"fixed":"15.5.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.0.0"},{"fixed":"16.2.11"}]}],"fixed":["15.5.21","16.2.11"],"provider":"nvd","source":"CVE-2026-64644","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-q8wf-6r8g-63ch","relation":"self","url":"https://osv.dev/vulnerability/GHSA-q8wf-6r8g-63ch","license":"CC-BY-4.0","published_at":"2026-07-22T23:02:05Z","modified_at":"2026-09-10T03:50:52.922204Z","summary":"Next.js: Denial of Service in the Image Optimization API using SVGs","details":"### Impact\n\nWhen self-hosting Next.js with the default image loader, the Image Optimization API can optimize remotely hosted images if configured (not enabled by default). If those images contain malicious content, they can cause CPU exhaustion in  `/_next/image` endpoints.\n\n- If you are using `config.images.remotePatterns`, only the patterns in that array are impacted.\n- If you are using `config.images.unoptimized: true`, you are NOT impacted.\n- If you are using `config.images.loader: 'custom'`, you are NOT impacted.\n- If you are using Vercel, you are NOT impacted.\n\n### Workarounds\n\nIf you cannot upgrade immediately, you can avoid the expensive work by setting `config.experimental.imgOptSkipMetadata : true`.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","source":"GHSA-q8wf-6r8g-63ch"}],"affected":[{"ecosystem":"npm","package":"next","purl":"pkg:npm/next","ranges":[{"type":"SEMVER","events":[{"introduced":"15.5.0"},{"fixed":"15.5.21"}]}],"fixed":["15.5.21"],"provider":"osv","source":"GHSA-q8wf-6r8g-63ch","relation":"self"},{"ecosystem":"npm","package":"next","purl":"pkg:npm/next","ranges":[{"type":"SEMVER","events":[{"introduced":"16.0.0"},{"fixed":"16.2.11"}]}],"fixed":["16.2.11"],"provider":"osv","source":"GHSA-q8wf-6r8g-63ch","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63ch"},{"type":"WEB","url":"https://github.com/vercel/next.js/pull/96006"},{"type":"WEB","url":"https://github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766c"},{"type":"PACKAGE","url":"https://github.com/vercel/next.js"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v15.5.21"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v16.2.11"}]},{"provider":"redhat-vex","source_id":"CVE-2026-64644","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-64644","license":"CC-BY-4.0","published_at":"2026-07-27T17:54:52.53Z","modified_at":"2026-10-21T06:42:02Z","summary":"next: Next.js: Denial of Service via malicious image optimization","details":"A flaw was found in Next.js, a React framework. When self-hosting Next.js with the default image loader and configured to optimize remotely hosted images, a remote attacker could exploit the Image Optimization API. By providing malicious images, the attacker can cause CPU exhaustion, leading to a Denial of Service (DoS) in the /_next/image endpoints. This vulnerability specifically affects configurations using config.images.remotePatterns.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-64644"},{"type":"Red Hat","score":"Important","source":"CVE-2026-64644"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","cpe":"cpe:/a:redhat:enterprise_linux:10","status":"not_affected","packages":["firefox"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","cpe":"cpe:/a:redhat:enterprise_linux:10","status":"not_affected","packages":["thunderbird"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["firefox"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["firefox"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["thunderbird"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["firefox","firefox-x11"],"package_count":2,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["thunderbird"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"not_affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Red Hat Trusted Artifact Signer","cpe":"cpe:/a:redhat:trusted_artifact_signer:1","status":"not_affected","packages":["rhtas/rekor-search-ui-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"Streams for Apache Kafka 3.2.1","cpe":"cpe:/a:redhat:amq_streams:3.2::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:54435"],"provider":"redhat-vex","source":"CVE-2026-64644"},{"vendor":"Red Hat","product":"streams for Apache Kafka 2","cpe":"cpe:/a:redhat:amq_streams:2","status":"not_affected","packages":["next"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64644"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64644.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-64644"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2507624"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-64644"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64644"},{"type":"WEB","url":"https://github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766c"},{"type":"WEB","url":"https://github.com/vercel/next.js/pull/96006"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v15.5.21"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v16.2.11"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63ch"}]}],"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63ch"},{"type":"WEB","url":"https://github.com/vercel/next.js/pull/96006"},{"type":"WEB","url":"https://github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766c"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v15.5.21"},{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v16.2.11"},{"type":"PACKAGE","url":"https://github.com/vercel/next.js"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64644.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-64644"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2507624"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-64644"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64644"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2468","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2468","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-10-04T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-64644","url":"https://www.cve.org/CVERecord?id=CVE-2026-64644","license":"CC-BY-4.0","modified_at":"2026-07-27T18:35:41.443Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-64644","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64644","relation":"self"},{"provider":"osv","source_id":"GHSA-q8wf-6r8g-63ch","url":"https://osv.dev/vulnerability/GHSA-q8wf-6r8g-63ch","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:52.922204Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-64644","url":"https://access.redhat.com/security/cve/CVE-2026-64644","license":"CC-BY-4.0","modified_at":"2026-10-21T06:42:02Z","relation":"self"}]}
