Vulnerability · Published Oct 21, 2026 · Assigned by VulnCheck
CVE-2026-114112Sharp before 0.35.4 RCE via bundled libheif AVIF decoding
High 8.9
In plain English
A high-severity heap buffer overflow in sharp from lovell. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | sharp | 0.35.4 | GHSA-rgj7-g3m4-5g8c |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
- GitHub Security Advisory (GHSA-rgj7-g3m4-5g8c) vendor-advisory
- VulnCheck Advisory: Sharp before 0.35.4 RCE via bundled libheif AVIF decoding third-party-advisory