All vulnerabilities
CVE-2026-114112GHSA-rgj7-g3m4-5g8c

Sharp before 0.35.4 RCE via bundled libheif AVIF decoding

lovell sharpnpmLibraries & packages
CVSS
8.9High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.19%Chance of exploitation activity in the next 30 days, higher than 8% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in0.35.4Fixed versionCVE List
Published21 Oct 2026Updated 22 Oct 2026CVE List

What fixes it

  • 0.35.4sharpCVE List
  • 0.35.4sharp, npmOSVnpm install sharp@0.35.4

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Sharp before 0.35.4 bundles a vulnerable libheif dependency that allows attackers to achieve possible remote code execution on glibc-based Linux by supplying crafted images. Attackers can submit malicious AVIF/HEIF input to applications processing untrusted images with sharp, triggering libheif decoding flaws to execute code.

Text from CVE List

Affected versions 3

  • sharpaffected: all versions before 0.35.4CVE List
  • sharpunaffected: 0.35.4CVE List
  • sharp, npmfrom first release, fixed in 0.35.4OSV

References 2