CVE-2026-44577: CWE-770: Allocation of Resources Without Limits or Throttling in vercel next.js
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.
AI Analysis
Technical Summary
Next.js versions >=10.0.0 <15.5.16 and >=16.0.0 <16.2.5 contain a resource allocation vulnerability (CWE-770) in the Image Optimization API when self-hosted with the default image loader. The API fetches local images entirely into memory without a maximum size limit, which can be exploited by an attacker to request large local assets via the /_next/image endpoint matching images.localPatterns (default allows all). This can cause out-of-memory conditions leading to denial of service. The vulnerability does not affect deployments on Vercel, custom image loaders, or when images.unoptimized is true. Red Hat advisory confirms the vulnerability and notes that no suitable mitigation or fix meeting their criteria is currently available. The CVSS 3.1 base score is 5.9 (medium severity) with network attack vector, high impact on availability, and no impact on confidentiality or integrity.
Potential Impact
An attacker can remotely cause a denial of service by triggering out-of-memory conditions on the Next.js application server through the Image Optimization API. This disrupts availability of the application but does not affect confidentiality or integrity of data. The vulnerability affects self-hosted Next.js instances using the default image loader with default image pattern settings. It does not impact Vercel-hosted instances or those using custom image loaders or unoptimized images.
Mitigation Recommendations
No official patch or fix is currently confirmed by the vendor or Red Hat. The vulnerability is not applicable when using Vercel hosting, a custom image loader, or setting images.unoptimized to true. Users are advised to consider these configurations to mitigate the risk. Since no suitable mitigation meeting Red Hat's criteria is available, upgrading to fixed versions 15.5.16 or later and 16.2.5 or later when possible is recommended. Monitor vendor advisories for updates on patches or mitigations.
CVE-2026-44577: CWE-770: Allocation of Resources Without Limits or Throttling in vercel next.js
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.
CVSS v3.1
Score 5.9medium
Affected software
vercel
next.js
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Next.js versions >=10.0.0 <15.5.16 and >=16.0.0 <16.2.5 contain a resource allocation vulnerability (CWE-770) in the Image Optimization API when self-hosted with the default image loader. The API fetches local images entirely into memory without a maximum size limit, which can be exploited by an attacker to request large local assets via the /_next/image endpoint matching images.localPatterns (default allows all). This can cause out-of-memory conditions leading to denial of service. The vulnerability does not affect deployments on Vercel, custom image loaders, or when images.unoptimized is true. Red Hat advisory confirms the vulnerability and notes that no suitable mitigation or fix meeting their criteria is currently available. The CVSS 3.1 base score is 5.9 (medium severity) with network attack vector, high impact on availability, and no impact on confidentiality or integrity.
Potential Impact
An attacker can remotely cause a denial of service by triggering out-of-memory conditions on the Next.js application server through the Image Optimization API. This disrupts availability of the application but does not affect confidentiality or integrity of data. The vulnerability affects self-hosted Next.js instances using the default image loader with default image pattern settings. It does not impact Vercel-hosted instances or those using custom image loaders or unoptimized images.
Mitigation Recommendations
No official patch or fix is currently confirmed by the vendor or Red Hat. The vulnerability is not applicable when using Vercel hosting, a custom image loader, or setting images.unoptimized to true. Users are advised to consider these configurations to mitigate the risk. Since no suitable mitigation meeting Red Hat's criteria is available, upgrading to fixed versions 15.5.16 or later and 16.2.5 or later when possible is recommended. Monitor vendor advisories for updates on patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-06T21:49:12.424Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-44577","vendor":"Red Hat"}]
Threat ID: 6a04af94cbff5d8610ed299f
Added to database: 05/13/2026, 17:06:28 UTC
Last enriched: 08/13/2026, 13:03:42 UTC
Last updated: 09/14/2026, 10:01:31 UTC
Views: 163
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.