CVE-2024-47831 json
Next.js image optimization has Denial of Service condition
published 2024-10-14 2 y ago modified 2026-09-10 59 d ago also EUVD-2024-3043 , GHSA-g77x-44xx-532m
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-47831 updated cvss 5.9
next.js: Next.js image optimization has Denial of Service condition
-
Red Hat Enterprise Linux 9 dotnet7.0, dotnet-host, dotnet-sdk-7.0, dotnet-hostfxr-7.0, dotnet-runtime-7.0, dotnet-templates-7.0, +6 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 firefox Red Hat Enterprise Linux 8 firefox, thunderbird Red Hat Enterprise Linux 9 firefox, firefox-x11, thunderbird Red Hat Trusted Artifact Signer rekor-search-ui-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | next | >=10.0.0, <14.2.7 |
14.2.7 |
Affected products
- vercel next.js
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
- Technology feeds
References
-
github.com
/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a
web, patch
-
github.com
/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-47831
advisory
-
github.com
/vercel/next.js
package
Sources
- CVE List CVE-2024-47831
- GitHub Advisory GHSA-g77x-44xx-532m
- NVD CVE-2024-47831
- Maintainer advisory GHSA-g77x-44xx-532m
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of vercel/next.js published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.