p PatchFirst

GHSA-2xp9-vwfh-vxw4

GHSA-2xp9-vwfh-vxw4 · Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.5 · Critical · Fix available

Published
Updated

Stack: node

Affected products and versions

  • next npm

    Affected ranges
    • SEMVER: ≥ 10.0.0, < 15.5.24

    Update to 15.5.24

  • next npm

    Affected ranges
    • SEMVER: ≥ 16.0.0, < 16.3.3

    Update to 16.3.3

Original sources

Check your server →