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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lovell | sharp | < 0.35.5 | 0.35.5 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | sharp | < 0.35.5 | 0.35.5 | GHSA-wq5f-xc86-pv6w |
References
- GitHub Security Advisory (GHSA-wq5f-xc86-pv6w) vendor-advisory
- VulnCheck Advisory: Sharp before 0.35.5 RCE via librsvg Dependency Memory Vulnerability third-party-advisory