CVSS 3.1
6.2 mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NMedium (6.2) in vercel next.js. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in next 14.2.31, 15.4.5.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nnext (npm): fixed in 14.2.31, 15.4.5Explain CVE-2025-57752 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-57752?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-57752?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-57752 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| vercel:next.js | before 14.2.31 |
| vercel:next.js | from 15.0.0 before 15.4.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-g5qg-72qw-gw5v | npm | next | >=0.9.9 <14.2.31 | 14.2.31 |
| GHSA-g5qg-72qw-gw5v | npm | next | >=15.0.0 <15.4.5 | 15.4.5 |
Red Hat rates this Moderate.
This vulnerability is considered Moderate because it only impacts applications that both (1) serve images through API routes where responses vary based on sensitive request headers, and (2) have image optimization enabled. In most common Next.js deployments, static images or header-independent responses are used, meaning the bug has no effect. Additionally, the exposure is limited to cached image content rather than direct access to underlying APIs or application data. Since it does not allow arbitrary code execution, privilege escalation, or broad data leakage by default, the impact is constrained to specific configurations, making it a Moderate issue rather than a Important flaw.
As a mitigation, developers/admins should avoid serving images that depend on sensitive request headers (such as Cookie or Authorization) through the Image Optimization API. Instead, these images can be served directly without optimization or with caching disabled to prevent unintended exposure to unauthorized users.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | firefox | Fix deferred | |
| Red Hat Enterprise Linux 10 | thunderbird | Fix deferred | |
| Red Hat Enterprise Linux 7 | firefox | Fix deferred | |
| Red Hat Enterprise Linux 8 | firefox | Fix deferred | |
| Red Hat Enterprise Linux 8 | thunderbird | Fix deferred | |
| Red Hat Enterprise Linux 9 | dotnet7.0 | Fix deferred | |
| Red Hat Enterprise Linux 9 | firefox | Fix deferred | |
| Red Hat Enterprise Linux 9 | thunderbird | Fix deferred | |
| Red Hat Trusted Artifact Signer | rhtas/rekor-search-ui-rhel9 | Fix deferred | |
| streams for Apache Kafka 2 | com.github.streamshub-console | Fix deferred | |
| streams for Apache Kafka 3 | com.github.streamshub-console | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-57752.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.