Skip to content

CVE-2026-44577 Next.js: Denial of Service in the Image Optimization API

MediumCVSS 5.9 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known

Description

Next.js is a React framework for building full-stack web applications. From 10.0.0 to before 15.5.16 and 16.2.5, when self-hosting Next.js with the default image loader, the Image Optimization API fetches local images entirely into memory without enforcing a maximum size limit. An attacker could cause out-of-memory conditions by requesting large local assets from the /_next/image endpoint that match the images.localPatterns configuration (by default, all patterns are allowed). This vulnerability is fixed in 15.5.16 and 16.2.5.

Affected products

ProductAffected versionsFixed in
vercel next.js = >= 10.0.0, < 15.5.16 No fix listed
vercel next.js = >= 16.0.0, < 16.2.5 No fix listed
redhat amq streams = 2.9 No fix listed
redhat trusted artifact signer < 1783958622 1783958622
redhat trusted artifact signer < 1783327185 1783327185
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 7 No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
redhat enterprise linux ai All versions No fix listed
redhat amq streams All versions No fix listed
npm next(npm) >= 10.0.0, < 15.5.16 15.5.16
npm next(npm) >= 16.0.0, < 16.2.5 16.2.5
redhat/next(Red Hat:amq_streams:2.9::el9) All versions No fix listed
redhat/next(Red Hat:amq_streams:3.2::el9) All versions No fix listed
redhat/rhtas/rekor-search-ui-rhel9:1783958622(Red Hat:trusted_artifact_signer:1.3::el9) All versions No fix listed
redhat/rhtas/rekor-search-ui-rhel9:1783327185(Red Hat:trusted_artifact_signer:1.4::el9) All versions No fix listed
redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
vercel next.js >= 10.0.0, < 15.5.16 15.5.16
vercel next.js >= 16.0.0, < 16.2.5 16.2.5

References