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.
Published: 2026-10-21
Score: 8.9 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch
AI Analysis

Impact

Sharp releases before 0.35.4 bundle a vulnerable libheif component that allows attackers to possibly execute arbitrary code on systems running glibc-based Linux when a specially crafted AVIF or HEIF image is processed. The flaw represents a heap-based buffer overflow (CWE-122) and a type of out-of-bounds memory access (CWE-787). The vulnerability gives remote code execution capabilities, potentially compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

The vulnerability affects the Sharp image processing library produced by lovell. All Sharp installations prior to version 0.35.4 are impacted, including any applications that rely on the bundled binaries from those releases.

Risk and Exploitability

The CVSS score of 8.9 indicates high severity, yet the EPSS score of less than 1% suggests a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. The attack vector is remote and can be executed via any network-facing application that accepts untrusted images processed with Sharp; an attacker must supply a malicious AVIF/HEIF image to trigger the flaw and no additional conditions are described in the advisory.

Generated by OpenCVE AI on October 22, 2026 at 15:13 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Sharp to version 0.35.4 or later, which replaces the vulnerable libheif dependency.
  • If an upgrade is not immediately possible, restrict or sanitize AVIF/HEIF input until the offending library can be replaced or patched.
  • Apply general input validation practices to reject malformed image files and monitor for decoding failures as a potential indicator of exploitation attempts.

Generated by OpenCVE AI on October 22, 2026 at 15:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important


Thu, 22 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Lovell
Lovell sharp
Vendors & Products Lovell
Lovell sharp

Wed, 21 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
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.
Title Sharp before 0.35.4 RCE via bundled libheif AVIF decoding
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 8.9, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T15:34:52.438Z

Reserved: 2026-10-20T21:48:58.503Z

Link: CVE-2026-114112

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-21T01:17:37.387

Modified: 2026-10-22T16:53:20.563

Link: CVE-2026-114112

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-21T00:37:11Z

Links: CVE-2026-114112 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T15:15:07Z

Weaknesses