Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

sharp

Latest version: v0.35.6

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: lovell
32,873 Stars
1,455 Forks
7 Versions
709.2M Downloads
JavaScript Repo language

Scan summary

sharp was last scanned on 28 Nov 2026 at version 0.35.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 2 were published within 2 days (27 and 28 Nov 2026).
  • Findings: No rules fired in version 0.35.6.
  • Downloads: 709,230,858 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.35.6 LATEST 28 Nov 2026 No rules fired
0.35.6-rc.0 27 Nov 2026 No rules fired
0.35.5 27 Sep 2026 No rules fired
0.35.5-rc.1 27 Sep 2026 Not shown
0.35.5-rc.0 22 Sep 2026 Not shown

No rules fired in 0.35.6

Findings

Findings for v0.35.6. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.35.6; other versions have their own rules, not their own score.

Known vulnerabilities

5 CVEs · last 6 Oct 2026

0 CRITICAL 4 HIGH 1 MEDIUM 0 LOW

Versions

  • ≥ 0.35.5
  • ≥ 0.35.4, < 0.35.5 1 HIGH
  • ≥ 0.35.0, < 0.35.4 2 HIGH
  • ≥ 0.32.6, < 0.35.0 3 HIGH
  • ≥ 0.30.5, < 0.32.6 4 HIGH
  • < 0.30.5 4 HIGH 1 MEDIUM

Vulnerabilities

  • GHSA-WQ5F-XC86-PV6W High 6 Oct 2026 sharp : Vulnerability in librsvg dependency CVE-2026-96889 Fixed in 0.35.5
  • GHSA-RGJ7-G3M4-5G8C High 8 Sep 2026 sharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545 Fixed in 0.35.4
  • GHSA-F88M-G3JW-G9CJ High 21 Jul 2026 sharp inherited vulnerabilities in libvips: CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591 Fixed in 0.35.0
  • GHSA-54XQ-CGQR-RPM3 High 16 Nov 2023 sharp vulnerability in libwebp dependency CVE-2023-4863 Fixed in 0.32.6
  • CVE-2022-29256 Medium 25 May 2022 sharp vulnerable to Command Injection in post-installation over build environment Fixed in 0.30.5

README

The publisher’s own README, as collected from the registry.

sharp

The typical use case for this high speed Node-API module is to convert large images in common formats to smaller, web-friendly JPEG, PNG, WebP, GIF and AVIF images of varying dimensions.

It can be used with all JavaScript runtimes that provide support for Node-API v9, including Node.js (>= 20.9.0), Deno and Bun.

Resizing an image is typically 4x-5x faster than using the quickest ImageMagick and GraphicsMagick settings due to its use of libvips.

Colour spaces, embedded ICC profiles and alpha transparency channels are all handled correctly. Lanczos resampling ensures quality is not sacrificed for speed.

As well as image resizing, operations such as rotation, extraction, compositing and gamma correction are available.

Most modern macOS, Windows and Linux systems do not require any additional install or runtime dependencies.

Documentation

Visit sharp.pixelplumbing.com for complete installation instructions, API documentation, benchmark tests and changelog.

Examples

npm install sharp
// ESM
import sharp from 'sharp';

// CJS
const sharp = require('sharp');
await sharp(inputBuffer)
  .resize({ width: 320, height: 240 })
  .toFile('output.webp', (err, info) => { ... });
const output = await sharp('input.jpg')
  .autoOrient()
  .resize({ width: 200 })
  .jpeg({ mozjpeg: true })
  .toBuffer();
const semiTransparentRedPng = await sharp({
  create: {
    width: 48,
    height: 48,
    channels: 4,
    background: { r: 255, g: 0, b: 0, alpha: 0.5 }
  }
})
  .png()
  .toBuffer();
const roundedCorners = Buffer.from(
  '<svg><rect x="0" y="0" width="200" height="200" rx="50" ry="50"/></svg>'
);

const roundedCornerResizer =
  sharp()
    .resize(200, 200)
    .composite([{
      input: roundedCorners,
      blend: 'dest-in'
    }])
    .png();

readableStream
  .pipe(roundedCornerResizer)
  .pipe(writableStream);

Contributing

A guide for contributors covers reporting bugs, requesting features and submitting code changes.

Licensing

Copyright 2013 Lovell Fuller and others.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm sharp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229