CVE-2026-47247
Prior to version 1.22.0, two bugs in libheif chain to leak process heap memory as visible pixel values in decoded grid images.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.49%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 0.49% probability · 41th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-200, CWE-226, CWE-682, CWE-908
- Affected
- struktur/libheif
- Source
- security-advisories@github.com
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3Exploit, Vendor Advisory, Mitigation
- https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3Exploit, Vendor Advisory, Mitigation
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.