CVE-2024-47831
published medium CVSS 3.1 · 5.9Next.js image optimization has Denial of Service condition
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vercel | — | next.js>= 10.0.0, < 14.2.7 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
Next.js is a React Framework for the Web. Cersions on the 10.x, 11.x, 12.x, 13.x, and 14.x branches before version 14.2.7 contain a vulnerability in the image optimization feature which allows for a potential Denial of Service (DoS) condition which could lead to excessive CPU consumption. Neither the `next.config.js` file that is configured with `images.unoptimized` set to `true` or `images.loader` set to a non-default value nor the Next.js application that is hosted on Vercel are affected. This issue was fully patched in Next.js `14.2.7`. As a workaround, ensure that the `next.config.js` file has either `images.unoptimized`, `images.loader` or `images.loaderFile` assigned.
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
- GitHub_M · 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.js | >= 10.0.0, < 14.2.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
2Provider assertions
2GitHub_M · cna
Next.js image optimization has Denial of Service condition
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1061c65468ef9adb6dcf7221d1dd0c81391c7d50bf9b2c09f46f127da25296f9
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record