Read the docs
TI-2026-67291 Aliases GHSA-2xp9-vwfh-vxw4

Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used

Priority LOW 38CWE-1395Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

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.

Why it matters now

Fix Fixed next (npm): 15.5.24, 16.3.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—next (npm)10.0.0 to before 15.5.2415.5.24Patch availableGHSA-2xp9-vwfh-vxw4
—next (npm)16.0.0 to before 16.3.316.3.3Patch availableGHSA-2xp9-vwfh-vxw4
  • next (npm) Vendor— Affected 10.0.0 to before 15.5.24 Fixed in 15.5.24 Patch available GHSA-2xp9-vwfh-vxw4
  • next (npm) Vendor— Affected 16.0.0 to before 16.3.3 Fixed in 16.3.3 Patch available GHSA-2xp9-vwfh-vxw4

Remediation

  • Fix · GHSA-2xp9-vwfh-vxw4 next (npm) Fixed in 15.5.24 Advisory →
  • Fix · GHSA-2xp9-vwfh-vxw4 next (npm) Fixed in 16.3.3 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-2xp9-vwfh-vxw4

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences