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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 34% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-21T21:16:59.853Z
- Modified: 2026-10-24T19:10:00.127Z
- Weaknesses: CWE-200, CWE-226, CWE-682, CWE-908
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- strukturag libheif: < 1.22.0
- struktur libheif: before 1.22.0

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3> (exploit, mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-47247](https://www.cve.org/CVERecord?id=CVE-2026-47247), CVE Terms of Use, modified 2026-07-22
- NVD: [CVE-2026-47247](https://nvd.nist.gov/vuln/detail/CVE-2026-47247), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-47247 · Whole record: https://cve.day/CVE-2026-47247.json · Rebuilt by cve.day 2026-11-25T22:59:29.458Z
