# CVE-2024-47831: Next.js image optimization has Denial of Service condition - Exploited (CISA KEV): no - Published: 2024-10-14 - CVSS: 5.9 MEDIUM (v3.1) - EPSS: 0.7% (54th percentile) - CWE: CWE-674 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. ## Edge WAF coverage (claimed by vendors, not measured) | Vendor | Status | First rule | Days after publication | |---|---|---|---| | Cloudflare | Before feed history | — | — | | AWS | No public claim | — | — | | Microsoft Azure | No public claim | — | — | | Google Cloud | No public claim | — | — | | Fastly | Before feed history | — | — | | F5 | Rule published | 2025-04-28 | — | | Akamai | No public source | — | — | | OWASP CRS | No public claim | — | — | ### F5 - 2025-04-28 · updated · rule 200012090 > Updated: signature 200012090 "Next.js Image Optimizer Denial of Service" (Denial of Service, risk Medium), systems: JavaScript, ReactJS. References: CVE-2024-47831. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2025-05-22 · updated · rule 200012090 > Updated: signature 200012090 "Next.js Image Optimizer Denial of Service" (Denial of Service, risk Medium), systems: JavaScript, ReactJS. References: CVE-2024-47831. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog "No public claim" means no vendor statement names this CVE; "Before feed history" means the CVE is older than the vendor feed. In both cases generic rules may still block it. HTML: https://cve.vigilbase.com/cve/CVE-2024-47831 · JSON: https://cve.vigilbase.com/api/v1/cves/CVE-2024-47831