Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-59471

next: NextJS Denial of Service in Image Optimizer

Overview

Published
26 Jan 2026
Modified
17 Jun 2026
High CVE
3 Registry packages
21 OS packages
4 Linux distributions
Yes Fix available

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: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-400

Affected packages · 3

Packages affected by CVE-2025-59471
EcosystemPackageVulnerableFixed in
npm next >=10.0.0, <15.5.10>=15.6.0-canary.0, <16.1.5 15.5.1016.1.5
Seal npm @seal-security/next >=16.0.6-sp1, <16.0.6-sp999 16.0.6-sp999
Seal npm next >=16.0.6-sp0, <16.0.6-sp999 16.0.6-sp999

Open a package to see all its vulnerabilities.

Operating systems · 10 fixes

Red Hat 3 releases · 2 packages

affected 3
firefox aspnetcore-runtime-7-0
Red Hat fixes for CVE-2025-59471
ReleasePackageFixed in
7 firefox affected
8 firefox +1 affected
9 aspnetcore-runtime-7-0 +14 affected

chainguard 1 release · 5 packages

fixed 5
langfuse-fips-2 langfuse-2 langfuse-fips-3 langfuse-3 cadence-web
chainguard fixes for CVE-2025-59471
ReleasePackageFixed in
langfuse-fips-2 2.95.12-r10
langfuse-2 2.95.12-r9
langfuse-fips-3 3.152.0-r0
langfuse-3 3.153.0-r0
cadence-web 4.0.18-r0

minimos 1 release · 1 package

fixed 1
trigger-dev
minimos fixes for CVE-2025-59471
ReleasePackageFixed in
trigger-dev 4.5.0-r0

wolfi 1 release · 1 package

fixed 1
langfuse-3
wolfi fixes for CVE-2025-59471
ReleasePackageFixed in
langfuse-3 3.153.0-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.