CVE-2024-47831
HIGH 7.5CVSS 3.1Denial of Service condition in Next.js image optimization
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.
- Published
- 14 Oct 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-674
- Also known as
- GHSA-g77x-44xx-532m
- Sources
- NVDJSONOSV GHSA-g77x-44xx-532mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vercel | next.jscpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* |
>= 10.0.0, < 14.2.7 | 14.2.7 |
| OSV | npm | next | >= 10.0.0, < 14.2.7 | 14.2.7 |
References
- https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a · Patch, WEB
- https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-47831 · ADVISORY
- https://github.com/vercel/next.js · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 14 Oct 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Oct 2024)