GHSA-2xp9-vwfh-vxw4

    Dashboard / Vulnerabilities / GHSA-2xp9-vwfh-vxw4

    GHSA-2xp9-vwfh-vxw4

    Published: 8 Sept 2026Last Modified: 8 Sept 2026

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

    Details: 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.

    Affected packages

    Package

    Name: next

    Purl: pkg:npm/next

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 10.0.0
    Fixed -15.5.24

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High