CVE-2025-59471

Published Jan 26, 2026

Last updated 2 months ago

Overview

Description
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.
Source
support@hackerone.com
NVD status
Analyzed
Products
next.js

Risk scores

CVSS 3.1

Type
Primary
Base score
7.5
Impact score
3.6
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity
HIGH

Weaknesses

134c704f-9b21-4f2e-91b3-4a467353bcc0
CWE-400

Social media

Hype score
Not currently trending
  1. npm auditしたら https://t.co/ATYSLNTp1B これだよwww CVE-2025-59471ね #nextjs

    @tettu0530

    1 Feb 2026

    81 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. CVE-2025-59471: Next.js Image Optimizer: The 4GB Hello World The Next.js Image Optimization API, a beloved feature for frontend performance, contained a fatal resource handling flaw. By requesting the optimization of a massive external image, an attac... https://t.co/bl6wbzDn6H

    @_cvereports

    27 Jan 2026

    3 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. CVE-2025-59471 Denial of Service in Next.js Image Optimizer via Unbounded Memory Consumption https://t.co/rn0VE2qCce

    @VulmonFeeds

    27 Jan 2026

    75 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  4. Vercel, Next.js’i kendi sunucusunda deploy edenler için iki önemli DoS açığını (CVE-2025-59471, CVE-2025-59472) duyurdu. next/image ile dış kaynaklardan görsel çekiliyorsa veya experimental.ppr açıksa, özel hazırlanmış isteklerle Node process OOM’a girip cra

    @ugurdanis

    27 Jan 2026

    73 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    1 Reply

    0 Quotes

  5. 🚀 Next.js v15.5.10 がリリースされました。 📦 種別: patch ✨ 主な変更点: • CVE-2025-59471およびCVE-2025-59472のセキュリティリリースに関する詳細 • CVE-2026-23864のセキュリティリリースに関する詳細 🔧 重要な修

    @darthnegi

    26 Jan 2026

    3 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  6. 🚀 Next.js v16.1.5 がリリースされました。 📦 種別: patch 🔧 重要な修正: • CVE-2025-59471のセキュリティ修正 • CVE-2025-59472のセキュリティ修正 • CVE-2026-23864のセキュリティ修正 #GitHub #Release #Next.js

    @darthnegi

    26 Jan 2026

    97 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  7. CVE-2025-59471 A denial of service vulnerability exists in self-hosted Next.js applications that have `remotePatterns` configured for the Image Optimizer. The image optimization end… https://t.co/hvFSK3aneo

    @CVEnew

    26 Jan 2026

    175 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

Configurations

References

Sources include official advisories and independent security research.