CVE-2026-114112 Details
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.
A remote code execution vulnerability has been identified in Sharp versions prior to 0.35.4. This issue arises from a vulnerable libheif dependency that allows attackers to execute code on glibc-based Linux systems. The vulnerability is triggered by supplying crafted AVIF or HEIF images to applications using Sharp that process untrusted images. The decoding flaws in libheif can be exploited to execute arbitrary code.
Users can upgrade Sharp to version 0.35.4 or later, which includes the patched libheif version 1.23.2. If using a globally-installed libheif, ensure it is updated to the latest version 1.23.2. For those relying on prebuilt binaries from Sharp, the recommendation is to upgrade to the latest version. As an additional step, ensure that the Node.js executable is compiled as a Position Independent Executable (PIE), as most Linux package managers do, except for the official Node.js binaries.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 21, 2026CISA-ADP
Assessed Oct 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lovell/sharp/security/advisories/GHSA-rgj7-g3m4-5g8c | [email protected] | AdvisoryBundleRemedyVendor |
| https://www.vulncheck.com/advisories/sharp-before-0.35.4-rce-via-bundled-libheif-avif-decoding | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lovell sharp | < 0.35.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 22, 2026 | CVE Modified | CISA-ADP |
| Oct 21, 2026 | New CVE Received | [email protected] |
Volerion