GHSA-f88m-g3jw-g9cj

Suggest an improvement
Source
https://github.com/advisories/GHSA-f88m-g3jw-g9cj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-f88m-g3jw-g9cj/GHSA-f88m-g3jw-g9cj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f88m-g3jw-g9cj
Downstream
CGA (58)
MINI (5)
ROOT (1)
Published
2026-07-21T22:07:17Z
Modified
2026-09-10T03:50:51Z
Severity
  • 7.0 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
sharp inherited vulnerabilities in libvips: CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591
Details

Impact

A number of vulnerabilities, two rated as "High" severity using CVSSv4, have been discovered and fixed in the upstream libvips dependency.

Those processing untrusted input with versions of sharp prior to 0.35.0 are affected.

Patches

Using prebuilt binaries provided by sharp?

Most people rely on the prebuilt binaries provided by sharp.

Please upgrade sharp to the latest version, currently 0.35.3, which provides libvips 8.18.3.

Using a globally-installed libvips?

Please ensure you are using the latest libvips 8.18.3.

Workarounds

Add the following to your code to prevent sharp from decoding GIF, TIFF and VIPS images.

sharp.block({ operation: ["VipsForeignLoadNsgif", "VipsForeignLoadTiff", "VipsForeignLoadVips"] });
Database specific
{
    "cwe_ids":  [
        "CWE-1395"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-21T22:07:17Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / sharp

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.35.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-f88m-g3jw-g9cj/GHSA-f88m-g3jw-g9cj.json"