Allocation of Resources Without Limits or Throttling Affecting next package, versions >=10.0.0 <15.5.10>=16.0.0-beta.0 <16.1.1-canary.15>=16.1.1 <16.1.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NEXT-15104645
  • published27 Jan 2026
  • disclosed26 Jan 2026
  • creditAndrew MacPherson

Introduced: 26 Jan 2026

CVE-2025-59471  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade next to version 15.5.10, 16.1.1-canary.15, 16.1.5 or higher.

Overview

next is a react framework.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the fetchExternalImage() function, which is used for image optimization and loads external images into memory without a maximum size limit. An attacker can exhaust system memory and disrupt service availability by requesting optimization of very large images from external domains.

Note:

This is only exploitable if remotePatterns is configured to allow image optimization from external domains and the attacker can serve or control a large image on an allowed domain.

CVSS Base Scores

version 4.0
version 3.1