CVE-2025-57752
published 2025-08-29CVE-2025-57752: Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization…
PriorityP432medium6.2CVSS 3.1
AVLACLPRNUINSUCHINAN
EPSS
0.33%
24.3th percentile
Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization API routes are affected by cache key confusion. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5. All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| next | next | >= 0.9.9 < 14.2.31 | 14.2.31 |
| next | next | >= 15.0.0 < 15.4.5 | 15.4.5 |
| vercel | next.js | < 14.2.31 | 14.2.31 |
| vercel | next.js | — | — |
| vercel | next.js | >= 15.0.0 < 15.4.5 | 15.4.5 |
CVSS provenance
nvdv3.16.2MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vendor_redhat6.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Next.js Affected by Cache Key Confusion for Image Optimization API Routes
ghsa·2025-08-29
CVE-2025-57752 [MEDIUM] CWE-524 Next.js Affected by Cache Key Confusion for Image Optimization API Routes
Next.js Affected by Cache Key Confusion for Image Optimization API Routes
A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. When images returned from API routes vary based on request headers (such as `Cookie` or `Authorization`), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug.
All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.
More details at [Vercel Changelog](https://vercel.com/changelog/cve-2025-57752)
OSV
Next.js Affected by Cache Key Confusion for Image Optimization API Routes
osv·2025-08-29
CVE-2025-57752 [MEDIUM] Next.js Affected by Cache Key Confusion for Image Optimization API Routes
Next.js Affected by Cache Key Confusion for Image Optimization API Routes
A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. When images returned from API routes vary based on request headers (such as `Cookie` or `Authorization`), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug.
All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.
More details at [Vercel Changelog](https://vercel.com/changelog/cve-2025-57752)
Red Hat
nextjs: Next.js Affected by Cache Key Confusion for Image Optimization API Routes
vendor_redhat·2025-08-29·CVSS 6.2
CVE-2025-57752 [MEDIUM] CWE-524 nextjs: Next.js Affected by Cache Key Confusion for Image Optimization API Routes
nextjs: Next.js Affected by Cache Key Confusion for Image Optimization API Routes
Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization API routes are affected by cache key confusion. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5. All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.
A cache key confusion vulnerability in Next.js Image Optimization API could cau
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2025-55173 CVE-2025-57752 icecat: various flaws [fedora-42]
bugzilla·2025-09-01·CVSS 4.3
CVE-2025-55173 [MEDIUM] CVE-2025-55173 CVE-2025-57752 icecat: various flaws [fedora-42]
CVE-2025-55173 CVE-2025-57752 icecat: various flaws [fedora-42]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams
Discussion:
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases th
Bugzilla
CVE-2025-55173 CVE-2025-57752 thunderbird: various flaws [fedora-42]
bugzilla·2025-09-01·CVSS 4.3
CVE-2025-55173 [MEDIUM] CVE-2025-55173 CVE-2025-57752 thunderbird: various flaws [fedora-42]
CVE-2025-55173 CVE-2025-57752 thunderbird: various flaws [fedora-42]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams
Discussion:
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releas
2025-08-29
Published