Intel

AIKIDO-2026-675927

next is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-64644 Published 5 days ago

63

Medium Risk

This Affects:

JSnext
15.5.0 - 15.5.20
Fixed in 15.5.21
16.0.0 - 16.2.10
Fixed in 16.2.11
Are you affected? Scan for Free

TL;DR

When self-hosting Next.js with the default image loader, the Image Optimization API can fetch and optimize remotely hosted images when remote patterns are configured. A malicious SVG served from an allowed remote source forces expensive processing on the /_next/image endpoint, causing CPU exhaustion. Repeated requests let an unauthenticated caller degrade availability of the optimization endpoint. The fix avoids the expensive metadata work for such images. Deployments on Vercel, with unoptimized images, or with a custom loader are not affected.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you self-host with the default image loader and have configured config.images.remotePatterns.

Background info

next is vulnerable to Denial of Service (DoS) in versions 15.5.0 - 15.5.20 and 16.0.0 - 16.2.10.

How to fix this

Upgrade the next library to the patch version.