CVE-2026-47247: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in strukturag libheif
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.
AI Analysis
Technical Summary
libheif versions before 1.22.0 contain two vulnerabilities that together cause exposure of process heap memory through decoded grid images. An attacker can upload a crafted AVIF or HEIC file to a server-side image processing service (e.g., WordPress, Sharp/libvips, ImageMagick) and obtain sensitive heap data, including function pointers, from the output images (JPEG/PNG/WebP). This exposure can aid in defeating ASLR and reveal other secrets. The vulnerability is identified as CVE-2026-47247 with a CVSS 3.1 score of 7.5 (high severity). The issue is resolved in version 1.22.0 of libheif.
Potential Impact
The vulnerability allows unauthorized disclosure of sensitive process heap memory, which can include library function pointers and other secrets. This information leakage can facilitate further attacks by bypassing memory protection mechanisms such as ASLR. The flaw affects any system using vulnerable libheif versions to decode AVIF/HEIC images, including popular server-side image processors. There is no indication of impact on integrity or availability, only confidentiality is affected.
Mitigation Recommendations
Upgrade libheif to version 1.22.0 or later, where this vulnerability is fixed. Since no official patch or remediation level is explicitly stated beyond the version fix, applying this update is the recommended mitigation. No vendor advisory content contradicts this guidance. If upgrading immediately is not possible, restrict or validate AVIF/HEIC file uploads to affected image processing services to reduce exposure.
CVE-2026-47247: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in strukturag libheif
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 v3.1
Score 7.5high
Affected software
pkg:github/strukturag/libheifRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
libheif versions before 1.22.0 contain two vulnerabilities that together cause exposure of process heap memory through decoded grid images. An attacker can upload a crafted AVIF or HEIC file to a server-side image processing service (e.g., WordPress, Sharp/libvips, ImageMagick) and obtain sensitive heap data, including function pointers, from the output images (JPEG/PNG/WebP). This exposure can aid in defeating ASLR and reveal other secrets. The vulnerability is identified as CVE-2026-47247 with a CVSS 3.1 score of 7.5 (high severity). The issue is resolved in version 1.22.0 of libheif.
Potential Impact
The vulnerability allows unauthorized disclosure of sensitive process heap memory, which can include library function pointers and other secrets. This information leakage can facilitate further attacks by bypassing memory protection mechanisms such as ASLR. The flaw affects any system using vulnerable libheif versions to decode AVIF/HEIC images, including popular server-side image processors. There is no indication of impact on integrity or availability, only confidentiality is affected.
Mitigation Recommendations
Upgrade libheif to version 1.22.0 or later, where this vulnerability is fixed. Since no official patch or remediation level is explicitly stated beyond the version fix, applying this update is the recommended mitigation. No vendor advisory content contradicts this guidance. If upgrading immediately is not possible, restrict or validate AVIF/HEIC file uploads to affected image processing services to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-18T22:54:18.272Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fe6d09c2644c7f8cb09cf
Added to database: 07/21/2026, 21:38:24 UTC
Last enriched: 07/22/2026, 08:52:53 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.