libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade libheif | Jun 18, 2026 | May 19, 2026 |
| Amazon_linux_2023 | — | Upgrade libheif-toolsUpgrade libheifUpgrade libheif-develUpgrade libheif-debugsourceUpgrade heif-pixbuf-loader-debuginfoUpgrade heif-pixbuf-loaderUpgrade libheif-tools-debuginfoUpgrade libheif-debuginfo | Jun 9, 2026 | May 19, 2026 |
| Debian | — | Upgrade libheif | Aug 9, 2026 | Aug 9, 2026 |
| Ubuntu | — | Upgrade libheif-devUpgrade libheif-plugin-x265Upgrade libheif-plugins-allUpgrade libheif-dev (Ubuntu Pro)Upgrade libheif-plugin-dav1dUpgrade libheif-plugin-jpegencUpgrade libheif-plugin-aomdecUpgrade heif-gdk-pixbuf (Ubuntu Pro)Upgrade libheif-plugin-svtencUpgrade heif-thumbnailer (Ubuntu Pro)Upgrade libheif-plugin-libde265Upgrade libheif-plugin-aomencUpgrade heif-gdk-pixbufUpgrade libheif1 (Ubuntu Pro)Upgrade libheif1Upgrade libheif-plugin-ffmpegdecUpgrade libheif-plugin-j2kencUpgrade libheif-plugin-j2kdecUpgrade libheif-plugin-kvazaarUpgrade libheif-plugin-rav1eUpgrade heif-thumbnailerUpgrade heif-viewUpgrade libheif-plugin-jpegdec | Jun 21, 2026 | Jun 18, 2026 |
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