sharp vulnerabilities

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images

Registry
npm
Latest
0.35.5
License
Apache-2.0

5 known advisories

The latest version, 0.35.5, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install sharp@0.35.5

Security advisories for sharp

  • HighGHSA-wq5f-xc86-pv6w6 Oct 2026

    sharp : Vulnerability in librsvg dependency CVE-2026-96889

    Affected
    <0.35.5
    Fixed in
    0.35.5
  • HighGHSA-rgj7-g3m4-5g8c8 Sept 2026

    sharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545

    Affected
    <0.35.4
    Fixed in
    0.35.4
  • HighGHSA-f88m-g3jw-g9cj21 Jul 2026

    sharp inherited vulnerabilities in libvips: CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591

    Affected
    <0.35.0
    Fixed in
    0.35.0
  • HighGHSA-54xq-cgqr-rpm316 Nov 2023

    sharp vulnerability in libwebp dependency CVE-2023-4863

    Affected
    <0.32.6
    Fixed in
    0.32.6
  • MediumGHSA-gp95-ppv5-3jc51 Jun 2022

    sharp vulnerable to Command Injection in post-installation over build environment

    Affected
    <0.30.5
    Fixed in
    0.30.5

Which of your client projects still run an old sharp?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.