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 Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade heif-pixbuf-loaderUpgrade heif-pixbuf-loader-debuginfoUpgrade libheifUpgrade libheif-debuginfoUpgrade libheif-debugsourceUpgrade libheif-develUpgrade libheif-toolsUpgrade libheif-tools-debuginfo | Jul 23, 2026 | Jul 21, 2026 |
| Debian | — | Upgrade libheif | Aug 9, 2026 | Aug 9, 2026 |
| Echo Linux | — | Upgrade libheif | Nov 12, 2026 | Jul 21, 2026 |
| Gentoo Linux | — | Upgrade media-libs/libheif. | Nov 11, 2026 | Nov 11, 2026 |
| Ubuntu | — | Upgrade libheifUpgrade libheif (Ubuntu Pro) | Jul 8, 2026 | Jul 2, 2026 |
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub