GHSA-2xp9-vwfh-vxw4

Suggest an improvement
Source
https://github.com/advisories/GHSA-2xp9-vwfh-vxw4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-2xp9-vwfh-vxw4/GHSA-2xp9-vwfh-vxw4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2xp9-vwfh-vxw4
Downstream
Published
2026-09-08T21:21:12Z
Modified
2026-09-08T21:30:04Z
Severity
  • 9.5 (Critical) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-1395"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-08T21:21:12Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
}
References

Affected packages

npm / next

Package

Affected ranges

Type
SEMVER
Events
Introduced
10.0.0
Fixed
15.5.24

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-2xp9-vwfh-vxw4/GHSA-2xp9-vwfh-vxw4.json"

npm / next

Package

Affected ranges

Type
SEMVER
Events
Introduced
16.0.0
Fixed
16.3.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-2xp9-vwfh-vxw4/GHSA-2xp9-vwfh-vxw4.json"