Sharp image library's bundled libheif allows remote code execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.
Summary
Sharp before 0.35.4 bundles a vulnerable libheif dependency that contains a heap-based buffer overflow (CWE-122). An attacker who supplies a crafted AVIF or HEIF image to an application that processes untrusted images with sharp can achieve possible remote code execution on glibc-based Linux.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update sharp to version 0.35.4. Red Hat lists no available plan for Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI), Red Hat Openshift Data Foundation 4 and Red Hat Trusted Artifact Signer.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA sharp (lovell) Fixed in 0.35.4
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet |
| Red Hat Trusted Artifact Signer | Affected | No fix yet |
Not affected: 1 product
- Red Hat Build of Podman Desktop
Timeline
- 2026-10-21 Threatist record created from CVE-2026-114112
- 2026-10-21 Affected versions changed · Red Hat
- 2026-10-21 CVSS score added · Red Hat
- 2026-10-22 Priority changed: MEDIUM → LOW
- 2026-10-22 CISA SSVC decision points changed
- 2026-10-22 Priority changed: LOW → MEDIUM
References
More lovell vulnerabilities
- TI-2026-78726 Bundled libvips flaws in Sharp expose apps to crafted images CVSS 4.0HIGH 8.4
- TI-2026-78724 Use after free in sharp's bundled librsvg allows code execution CVSS 4.0HIGH 8.9
Sources
- CVE-2026-114112 · CVE Program
- CVE-2026-114112 · NVD
- FIRST EPSS
- CVE-2026-114112 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences