← CVE Intelligence

CVE-2025-59471

vercel / next PUBLISHED

Description (CNA)

A denial of service vulnerability exists in self-hosted Next.js applications that have `remotePatterns` configured for the Image Optimizer. The image optimization endpoint (`/_next/image`) loads external images entirely into memory without enforcing a maximum size limit, allowing an attacker to cause out-of-memory conditions by requesting optimization of arbitrarily large images. This vulnerability requires that `remotePatterns` is configured to allow image optimization from external domains and that the attacker can serve or control a large image on an allowed domain. Strongly consider upgrading to 15.5.10 or 16.1.5 to reduce risk and prevent availability issues in Next applications.

Affected (CNA)

Vendor / productVersions
vercel / nextaffected 10.0 before 10.0; affected 11.0 before 11.0; affected 12.0 before 12.0; affected 13.0 before 13.0; affected 14.0 before 14.0; affected 15.0 before 15.5.10; affected 16.0 before 16.1.5

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.