Feed
–CRITICAL
GHSA-2xp9-vwfh-vxw4Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used
A critical-severity vulnerability, without a CVSS score in our data. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- –
- not in our data
- Fix
- Named by a source
- Advisory published 8 Sept 2026
Reference
None of the "Needs attention" rules apply right now.
No EPSS score: unknown · Severity critical, no CVSS score in our data (+25)
Immediate actions
- next (npm): upgrade to 15.5.24 / 16.3.3 or later on your release line.
- Commit / pull request: https://github.com/vercel/next.js/pull/97875
- Commit / pull request: https://github.com/vercel/next.js/pull/97931
- Commit / pull request: https://github.com/vercel/next.js/commit/3a15b4ac6ac8e70b1a9b18ecc18e8434462899b3
- Commit / pull request: https://github.com/vercel/next.js/commit/409772ec807def20132d251ad48fd8d8ad4c73c2
Who should check
next (npm) pkg:npm/next
- Affected>= 10.0.0, < 15.5.24Fixed in15.5.24OSV (GHSA-2xp9-vwfh-vxw4)
- Affected>= 16.0.0, < 16.3.3Fixed in16.3.3OSV (GHSA-2xp9-vwfh-vxw4)
Confirmed facts
- Severity
- CRITICAL (no CVSS score in our data)
- Weakness
- CWE-1395
Unknowns
- No CVSS score in our data. That says nothing about how bad it is, nor that none is published.
- No EPSS score in our data.
Advisory text
Quoted from the source advisory (untrusted)A vulnerability in the underlying `libheif` library used by `sharp` which Next.js uses for image optimization can lead to remote code execution when AVIF files are optimized. Until a fix has propagated, optimization of AVIF files is disabled.
Update history
- 8 Sept 2026Published
References
- otherhttps://github.com/strukturag/libheif/security/advisories/GHSA-g89c-p67h-r497
- otherhttps://github.com/vercel/next.js/security/advisories/GHSA-2xp9-vwfh-vxw4
- commit / pull requesthttps://github.com/vercel/next.js/pull/97875
- commit / pull requesthttps://github.com/vercel/next.js/pull/97931
- commit / pull requesthttps://github.com/vercel/next.js/commit/3a15b4ac6ac8e70b1a9b18ecc18e8434462899b3
- commit / pull requesthttps://github.com/vercel/next.js/commit/409772ec807def20132d251ad48fd8d8ad4c73c2
- commit / pull requesthttps://github.com/vercel/next.js/commit/7a5937a8ab20b89d0a961f75eabb11577f5d5998
- otherhttps://github.com/vercel/next.js
- otherhttps://github.com/vercel/next.js/releases/tag/v15.5.24
- otherhttps://github.com/vercel/next.js/releases/tag/v16.3.3
Sources
- GHSA-2xp9-vwfh-vxw4 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev just now · osv just now · nvd 61 min ago · epss 3 h ago · JSON · ask via MCP: explain_vulnerability