All vulnerabilities

npm

CVE-2026-114111

sharp : Vulnerability in librsvg dependency CVE-2026-96889

Severity
High
Published
6 Oct 2026
Last changed
21 Oct 2026
Added to UpHeron
14 Oct 2026
Fixed in
0.35.5
Exploit chance
0.1% in the next 30 daysHigher than 2% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-1395Use after free (CWE-416)
Also known as
GHSA-wq5f-xc86-pv6w
Sources
OSV.dev and GitHub

Description

A memory-related vulnerability has been discovered and fixed in the upstream librsvg dependency. When certain runtime-specific conditions apply, this vulnerability can lead to possible remote code execution (RCE) on glibc-based Linux.

Most people rely on the prebuilt binaries provided by sharp.

Please upgrade sharp to the latest version, currently 0.35.5, which provides librsvg 2.63.2.

Please ensure you are using the latest librsvg 2.63.2.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

Add the following to your code to prevent sharp from decoding SVG images.

To avoid RCE, ensure you are using a node executable binary compiled as a Position Independent Executable (PIE). Most Linux package managers already use this security-hardening feature however be warned that the "official" Node.js binaries do not. 1

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
sharpnpm · osv:npm:sharp
  • Every version before 0.35.5

About sharp

Weekly downloads (npm)
169,607,885npm, 17 Nov 2026

Vulnerabilities in sharp

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
3
Known exploited
0
Search the list for sharp

References