# CVE-2026-47247: libheif Vulnerable to Heap Information Disclosure via Grid Image Gap + Uninitialized Pixel Plane Allocation

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.22.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-21 · Modified: 2026-07-22
- Aliases: UBUNTU-CVE-2026-47247, DEBIAN-CVE-2026-47247
- Record: https://cvemate.com/vulnerability/CVE-2026-47247 · JSON: https://cvemate.com/vulnerability/CVE-2026-47247/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.494%, percentile 44.044%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian libheif (Debian): All versions (No fix recorded) \| \< 1.15.1-1+deb12u2 \| \< 1.19.8-1+deb13u1 \| \< 1.23.1-1
- ubuntu libheif (Ubuntu): \< 1.6.1-1ubuntu0.1~esm3 \| \< 1.12.0-2ubuntu0.1~esm3 \| \< 1.17.6-1ubuntu4.4 \| \< 1.20.2-1ubuntu0.4 \| \< 1.21.2-3ubuntu0.1
- struktur libheif: \< 1.22.0
- strukturag libheif: \< 1.22.0

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3>
- <https://ubuntu.com/security/CVE-2026-47247>
- <https://www.cve.org/CVERecord?id=CVE-2026-47247>
- <https://security-tracker.debian.org/tracker/CVE-2026-47247>

---

Data as of 2026-12-05T09:39:27.571Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
