What’s Vulnerable › Vulnerabilities
CVE-2026-47247: libheif Vulnerable to Heap Information Disclosure via Grid Image Gap + Uninitialized Pixel Plane Allocation
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-21 · updated 2026-10-24
- Weakness: CWE-200
Description
libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.0, two bugs in libheif chain to leak process heap memory as visible pixel values in decoded grid images. An attacker who uploads a crafted AVIF/HEIC file to any server-side image processor (WordPress, Sharp/libvips, ImageMagick, etc.) can recover heap data - including library function pointers sufficient to defeat ASLR, or any other secret - from the publicly-downloadable transcoded JPEG/PNG/WebP output. Local attack vectors are also possible. Version 1.22.0 fixes the issue.
Affected products
- strukturag libheif: before 1.22.0 — fixed in 1.22.0
How to fix
Upgrade to a fixed version: strukturag libheif 1.22.0. Check the vendor advisory for mitigations.
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3
- https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3
Get alerted when CVE-2026-47247 or the next vulnerability affects your stack