GHSA-2xp9-vwfh-vxw4: Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used
Noroxi assessment
Priority: Monitor (action score 0/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: next (npm) 15.5.24, 16.3.3.
Low priority for now. Upgrade to next (npm) 15.5.24, 16.3.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: OSV
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.
- Published
- Sep 8, 2026
- Updated
- Sep 8, 2026
- EPSS
- —
- CWE
- CWE-1395
Report tools
Action score
0
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · —
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is the Next.js on your site affected?Scan JavaScript libraries
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| npm | next | pkg:npm/next |
Is the Next.js on your site affected?
The free JavaScript library scanner reads the Next.js version from the files your site loads, matches this record and other known vulnerabilities, and gives the safe version on the same branch. If the version can't be read, it says so. No account needed.
Scan JavaScript librariesPackage-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| npm | next | from 10.0.0 · before 15.5.24 | 15.5.24 |
| npm | next | from 16.0.0 · before 16.3.3 | 16.3.3 |
Same product
npm: all recordsOther highest-scoring records for the same primary product.
- GHSA-8h8q-6873-q5fjNext.js Vulnerable to Denial of Service with Server Components30Monitor
- GHSA-q4gf-8mx6-v5v3Next.js has a Denial of Service with Server Components30Monitor
- GHSA-h25m-26qc-wcjfNext.js HTTP request deserialization can lead to DoS when using insecure React Server Components30Monitor
Published before and after this one in the same product
- ← EarlierGHSA-mwv6-3258-q52cDec 11, 2025 · Next Vulnerable to Denial of Service with Server Components30Monitor
- ← EarlierGHSA-w37m-7fhw-fmv9Dec 11, 2025 · Next Server Actions Source Code Exposure21Monitor
- ← EarlierGHSA-5j59-xgg2-r9c4Dec 12, 2025 · Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| npm:next | 15.5.24 | Package registry (OSV) |
| npm:next | 16.3.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- GHSA-5j59-xgg2-r9c4270 days apartNext has a Denial of Service with Server Components - Incomplete Fix Follow-Up30Monitor
- GHSA-mwv6-3258-q52c271 days apartNext Vulnerable to Denial of Service with Server Components30Monitor
- GHSA-w37m-7fhw-fmv9271 days apartNext Server Actions Source Code Exposure21Monitor
Not on record for this CVE: EPSS history · researcher credit · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
Weakness class (CWE)
CWE-1395 · Dependency on Vulnerable Third-Party ComponentCVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
osv
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (2)
- Fix✗ → ✓
- CVSS9.5 → —
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- github.com/vercel/next.js/security/advisories/GHSA-2xp9-vwfh-vxw4
- github.com/vercel/next.js/pull/97875
- github.com/vercel/next.js/pull/97931
- github.com/vercel/next.js/commit/3a15b4ac6ac8e70b1a9b18ecc18e8434462899b3
- github.com/vercel/next.js/commit/409772ec807def20132d251ad48fd8d8ad4c73c2
- github.com/vercel/next.js/commit/7a5937a8ab20b89d0a961f75eabb11577f5d5998
- github.com/vercel/next.js
- github.com/vercel/next.js/releases/tag/v15.5.24
- github.com/vercel/next.js/releases/tag/v16.3.3
Vendor advisories and official records. Exploit/PoC links are deliberately left out.