Description
sharp before 0.35.5 bundles a librsvg dependency affected by a memory-related vulnerability (CVE-2026-96889) that, under certain runtime-specific conditions, can lead to code execution on glibc-based Linux. An attacker can supply a crafted SVG image that, when decoded by sharp through librsvg, may result in arbitrary code execution.
Published: 2026-10-21
Score: 8.9 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Sharp before version 0.35.5 contains a librsvg dependency that is vulnerable to a memory‑related flaw (CVE‑2026‑96889). When a crafted SVG image is processed, the underlying library may violate memory safety, allowing an attacker to execute arbitrary code on systems running glibc. The flaw can be triggered only when the image is decoded by Sharp, so the impact is at the application level but results in full system compromise once executed.

Affected Systems

The vulnerability affects the Sharp image‑processing library from lovell, for all releases prior to 0.35.5. Systems deploying Sharp versions below 0.35.5 on Linux distributions that use glibc are susceptible. This includes Node.js environments that consume Sharp for image handling.

Risk and Exploitability

The CVSS score of 8.9 indicates a high severity, and the EPSS score shows a very low current exploitation probability (<1%). This flaw is not listed in the CISA KEV catalog. It can be exploited by delivering a malicious SVG file to an application that loads it via Sharp, leading to remote code execution in the context of the running process. No additional conditions have been reported, so exploitation is possible whenever untrusted SVG content is processed.

Generated by OpenCVE AI on October 21, 2026 at 16:11 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Sharp to version 0.35.5 or later where the vulnerable librsvg dependency has been replaced.
  • If an immediate upgrade is not feasible, refuse to process SVG input from untrusted sources or isolate the image processing in a sandboxed environment, and consider disabling Sharp entirely until the update can be applied.
  • Configure the application to reject or sanitize untrusted SVG files before they reach Sharp, ensuring only internally validated or trusted images are processed.

Generated by OpenCVE AI on October 21, 2026 at 16:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 23 Oct 2026 00:45: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.5 bundles a librsvg dependency affected by a memory-related vulnerability (CVE-2026-96889) that, under certain runtime-specific conditions, can lead to code execution on glibc-based Linux. An attacker can supply a crafted SVG image that, when decoded by sharp through librsvg, may result in arbitrary code execution.
Title Sharp before 0.35.5 RCE via librsvg Dependency Memory Vulnerability
Weaknesses CWE-416
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-28T13:49:52.276Z

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

Link: CVE-2026-114111

cve-icon Vulnrichment

Updated: 2026-10-28T13:49:38.560Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-10-28T14:16:57.510

Link: CVE-2026-114111

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T22:15:12Z

Weaknesses