{"id":"GHSA-g77x-44xx-532m","revision":"5df21309023b4f39ab4f22e3b75ece5c","records":[{"revision":"5df21309023b4f39ab4f22e3b75ece5c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-g77x-44xx-532m","aliases":["CVE-2024-47831"],"title":"Denial of Service condition in Next.js image optimization","description":"### Impact\nThe image optimization feature of Next.js contained a vulnerability which allowed for a potential Denial of Service (DoS) condition which could lead to excessive CPU consumption.\n\n**Not affected:**\n- The `next.config.js` file is configured with `images.unoptimized` set to `true` or `images.loader` set to a non-default value.\n- The Next.js application is hosted on Vercel. \n\n### Patches\nThis issue was fully patched in Next.js `14.2.7`. We recommend that users upgrade to at least this version.\n\n### Workarounds\nEnsure that the `next.config.js` file has either `images.unoptimized`, `images.loader` or `images.loaderFile` assigned.\n\n#### Credits\nBrandon Dahler (brandondahler), AWS\nDimitrios Vlastaras","state":0,"publishedAt":"2024-10-14T19:45:21+00:00","modifiedAt":"2026-09-10T03:50:19.7207488+00:00","affected":[{"ecosystem":"npm","name":"next","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"10.0.0"},{"kind":"fixed","version":"14.2.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m","https://nvd.nist.gov/vuln/detail/CVE-2024-47831","https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a","https://github.com/vercel/next.js"],"sourceUrl":"https://github.com/advisories/GHSA-g77x-44xx-532m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-g77x-44xx-532m","identifiers":["GHSA-g77x-44xx-532m","CVE-2024-47831"]},"retained":false,"historicalAffected":[]}],"coverage":[]}