CVE-2026-44577
Next.js: Denial of Service in the Image Optimization API
- State
- Published
- Severity
- 5.9 Medium
- Published
- May 13, 2026
- Updated
- Aug 13, 2026
- Reserved
- May 6, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.9 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected Products
| Product | Versions |
|---|---|
next.jsvercel |
|
References
- https://github.com/vercel/next.js/security/advisories/GHSA-h64f-5h5j-jqjh
- https://access.redhat.com/security/cve/CVE-2026-44577vdb-entry
- RHBZ#2477194issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44577.json
- https://access.redhat.com/errata/RHSA-2026:40974vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:37272vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34608vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54435vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.