Skip to main content
VulnerabilityPublished

Sharp Inherited Vulnerabilities

Affects sharpSource GCVE Database

0

Mentioned vulnerabilities

CVSS 7.0 High : upgrade to 0.35.0 soon.

Data as of 22 Jul 2026, 00:36 UTC

CVSS 4.0 base score
7.0High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.35.0
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

What to do

Upgrade sharp to 0.35.0.

Affected software

ProductAffectedFixed in
npmsharpAffected
  • <0.35.0
Fixed in
  • 0.35.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade sharp to version 0.35.3 or later, which includes libvips 8.18.3 containing the fixes. If using a globally installed libvips, update it to version 8.18.3. As a temporary workaround, configure sharp to block decoding of GIF, TIFF, and VIPS images by adding sharp.block({ operation: ["VipsForeignLoadNsgif", "VipsForeignLoadTiff", "VipsForeignLoadVips"] }); to your code. No other immediate actions are indicated by the vendor advisory.

Description

Multiple vulnerabilities, including two rated as high severity under CVSSv4, were found and fixed in the libvips library used by sharp. Versions of sharp prior to 0.35.0 that process untrusted input are affected. The vulnerabilities have been addressed in libvips 8.18.3, which is included starting with sharp version 0.35.0. Users relying on prebuilt sharp binaries should upgrade to at least version 0.35.3. Those using a globally installed libvips must ensure it is updated to 8.18.3. As a workaround, sharp can be configured to block decoding of GIF, TIFF, and VIPS images to mitigate risk until patched. No known exploits are reported in the wild.

References

Community reviews

Loading reviews…