Medium severity5.9GHSA Advisory· Published May 13, 2026· Updated May 13, 2026
CVE-2026-44577
CVE-2026-44577
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nextnpm | >= 10.0.0, < 15.5.16 | 15.5.16 |
nextnpm | >= 16.0.0, < 16.2.5 | 16.2.5 |
Affected products
4- osv-coords2 versions
< 0.51.0-r7+ 1 more
- (no CPE)range: < 0.51.0-r7
- (no CPE)range: >= 10.0.0, < 15.5.16
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-h64f-5h5j-jqjhghsaADVISORY
- github.com/vercel/next.js/security/advisories/GHSA-h64f-5h5j-jqjhnvdVendor AdvisoryMitigationWEB
- nvd.nist.gov/vuln/detail/CVE-2026-44577ghsaADVISORY
- github.com/vercel/next.js/releases/tag/v15.5.16ghsaWEB
- github.com/vercel/next.js/releases/tag/v16.2.5ghsaWEB
News mentions
0No linked articles in our index yet.