CVE Catalog

CVE-2026-44577

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.66%

47th percentile - higher than 47% of all known CVEs

Summary

Next.js versions 10.0.0 through 15.5.16 and 16.2.5, when self-hosted with the default image loader, do not enforce a maximum size limit for local assets fetched by the Image Optimization API. An attacker can trigger out-of-memory conditions by requesting large files from the /_next/image endpoint.

Risk Assessment

The risk is a denial-of-service (DoS) attack via memory exhaustion, potentially making the application unavailable by overwhelming the server with large image requests.

Recommendation

Upgrade Next.js to version 15.5.16 or 16.2.5 immediately, which include a fix to limit the size of fetched images.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS