Medium severity5.3OSV Advisory· Published Jul 27, 2026· Updated Jul 29, 2026
CVE-2026-64644
CVE-2026-64644
Description
Next.js is a React framework for building full-stack web applications. In versions 15.5.0 through 15.5.20 and 16.0.0 through 16.2.10, when self-hosting Next.js with the default image loader, the Image Optimization API can optimize remotely hosted images if configured (not enabled by default). If those images contain malicious content, they can cause CPU exhaustion in /_next/image endpoints.Only config.images.remotePatterns is affected, and just the patterns in that array, whereas config.images.unoptimized: true, config.images.loader: 'custom', and Vercel are not impacted. This issue has been fixed in versions 15.5.21 and 16.2.11.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nextnpm | >= 15.5.0, < 15.5.21 | 15.5.21 |
nextnpm | >= 16.0.0, < 16.2.11 | 16.2.11 |
Affected products
17- osv-coords14 versionspkg:apk/chainguard/langfuse-2pkg:apk/chainguard/langfuse-3pkg:apk/chainguard/peerdb-uipkg:apk/chainguard/homepagepkg:apk/chainguard/keep-uipkg:apk/chainguard/langfuse-fips-3-workerpkg:apk/wolfi/langfuse-3-workerpkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/keep-ui-fipspkg:apk/wolfi/jitsucom-jitsu-consolepkg:apk/chainguard/langfuse-fips-3pkg:apk/chainguard/langfuse-fips-2pkg:apk/wolfi/langfuse-3pkg:apk/chainguard/jitsucom-jitsu-console
< 2.95.12-r35+ 13 more
- (no CPE)range: < 2.95.12-r35
- (no CPE)range: < 3.224.1-r0
- (no CPE)range: < 0.37.3-r1
- (no CPE)range: < 1.13.2-r9
- (no CPE)range: < 0.54.2-r1
- (no CPE)range: < 3.224.1-r0
- (no CPE)range: < 3.224.1-r0
- (no CPE)range: < 3.224.1-r0
- (no CPE)range: < 0.54.2-r1
- (no CPE)range: < 2.11.0-r30
- (no CPE)range: < 3.224.1-r0
- (no CPE)range: < 2.95.12-r38
- (no CPE)range: < 3.224.1-r0
- (no CPE)range: < 2.11.0-r30
Patches
Vulnerability mechanics
References
6- github.com/vercel/next.js/commit/93cb90891402fa4c47798d03cb9e05c13233766cnvdPatchWEB
- github.com/vercel/next.js/pull/96006nvdIssue TrackingPatchWEB
- github.com/advisories/GHSA-q8wf-6r8g-63chghsaADVISORY
- github.com/vercel/next.js/security/advisories/GHSA-q8wf-6r8g-63chnvdVendor AdvisoryWEB
- github.com/vercel/next.js/releases/tag/v15.5.21nvdProductRelease NotesWEB
- github.com/vercel/next.js/releases/tag/v16.2.11nvdProductRelease NotesWEB
News mentions
2- Next.js: Nine SSRF, Auth Bypass, and DoS Vulnerabilities Patched TogetherVypr Intelligence · Jul 27, 2026
- Next.js Patches Nine Security Flaws Enabling SSRF, Authentication Bypass, and DoS AttacksCyber Security News · Jul 23, 2026