CVE-2025-59471
published medium CVSS 3.1 · 5.9next: NextJS Denial of Service in Image Optimizer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vercel | — | next10.0 to < 10.0 · 11.0 to < 11.0 · 12.0 to < 12.0 · 13.0 to < 13.0 · 14.0 to < 14.0 · 15.0 to < 15.5.10 · 16.0 to < 16.1.5 · Other versions: unaffected | Affected | Not stated | hackerone |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- hackerone · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vercel | next | 10.0 to < 10.0 (affected · semver)11.0 to < 11.0 (affected · semver)12.0 to < 12.0 (affected · semver)13.0 to < 13.0 (affected · semver)14.0 to < 14.0 (affected · semver)15.0 to < 15.5.10 (affected · semver)16.0 to < 16.1.5 (affected · semver)Default: unaffected | hackerone · cna |
Weaknesses
1- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
1Provider assertions
2hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2706235c10404af5254b8d8eda9a0611610193dec9add21a6eb496e4155b258a
- Ingested
- 23 Sep 2026, 08:54:20 UTC
- Source record
- Official CVE record