CVE-2026-44577
Next.js: Denial of Service in the Image Optimization API
CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-770 |
| Vendor | vercel |
| Product | next.js |
| Published | May 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for vercel next.js
Be the first to know when new medium vulnerabilities affecting vercel next.js are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
vercel / next.js
>= 10.0.0, < 15.5.16 >= 16.0.0, < 16.2.5