CVE-2026-47247

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

Configuration 1 (hide)

cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*

History

27 Jul 2026, 15:20

Type Values Removed Values Added
First Time Struktur
Struktur libheif
References () https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3 - () https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3 - Exploit, Vendor Advisory, Mitigation
CPE cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*

22 Jul 2026, 15:17

Type Values Removed Values Added
References () https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3 - () https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3 -

21 Jul 2026, 22:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-21 22:17

Updated : 2026-07-27 15:20


NVD link : CVE-2026-47247

Mitre link : CVE-2026-47247

CVE.ORG link : CVE-2026-47247


JSON object : View

Products Affected

struktur

  • libheif
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-226

Sensitive Information in Resource Not Removed Before Reuse

CWE-682

Incorrect Calculation

CWE-908

Use of Uninitialized Resource