libheif Vulnerable to Heap Information Disclosure via Grid Image Gap + Uninitialized Pixel Plane Allocation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| strukturag | libheif | before 1.22.0 | 1.22.0 | Patch available | CNA |
- libheif Vendorstrukturag Affected before 1.22.0 Fixed in 1.22.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:* | before 1.22.0 | Vulnerable | strukturag |
- cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:* Versions before 1.22.0 Vulnerable ·strukturag
Remediation
- Fix · CNA libheif (strukturag) Fixed in 1.22.0
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47247
More strukturag Libheif vulnerabilities
- TI-2023-27020 libheif v1.17.5 was discovered to contain a segmentation violation via the function… CVSS 3.1HIGH 8.8
- TI-2024-16668 libheif <= 1.17.6 contains a memory leak in the function JpegEncoder::Encode. CVSS 3.1HIGH 7.5
- TI-2024-27575 In Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file… CVSS 3.1HIGH 8.1
- TI-2026-35472 libheif: heap OOB read in ImageItem_Grid::decode_grid_tile via irot-induced tile-coordinate underflow CVSS 3.1HIGH 7.1
- TI-2026-35212 libheif has a NULL pointer dereference in heif_image_handle_get_image_tiling for malformed unci image missing ispe CVSS 4.0MEDIUM 6.9
- TI-2026-34834 libheif has an incomplete fix for CVE-2026-3949: integer overflow bypass in vvdec_push_data2 CVSS 4.0MEDIUM 6.8
Sources
- CVE-2026-47247 · CVE Program
- CVE-2026-47247 · NVD
- FIRST EPSS
- CVE-2026-47247 · 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