Vulnerability · Published May 13, 2026 · Assigned by GitHub_M
CVE-2026-44577Next.js: Denial of Service in the Image Optimization API
Medium 5.9
In plain English
A medium-severity resource allocation without limits in next.js from vercel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | next | 15.5.16 | GHSA-h64f-5h5j-jqjh |
| npm | next | 16.2.5 | GHSA-h64f-5h5j-jqjh |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/vercel/next.js/security/advisories/GHSA-h64f-5h5j-jqjh x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-44577 vdb-entry, x_refsource_REDHAT
- RHBZ#2477194 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44577.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:40974 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37272 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34608 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54435 vendor-advisory, x_refsource_REDHAT