# CVE-2026-32740: libheif: libheif is a HEIF and AVIF file format decoder and encoder

CVE-2026-32740 is fixed in 27 products on 1 platform, first by DEBIAN-CVE-2026-32740, released May 19, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-32740
- Priority: High
- CVSS: 8.8 (high)
- EPSS: 0.0068
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 19, 2026

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | heif-gdk-pixbuf Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [heif-gdk-pixbuf 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-heif-gdk-pixbuf-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | heif-gdk-pixbuf Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [heif-gdk-pixbuf 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-heif-gdk-pixbuf-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | heif-pixbuf-loader amzn 2023 | 1.19.8-1.amzn2023.0.5 | [ALAS2023-2026-1814](https://patchblox.com/security/data/fix/linux/alas2023-2026-1814.md) | Jun 8, 2026 |
| Linux | heif-pixbuf-loader-debuginfo amzn 2023 | 1.19.8-1.amzn2023.0.5 | [ALAS2023-2026-1814](https://patchblox.com/security/data/fix/linux/alas2023-2026-1814.md) | Jun 8, 2026 |
| Linux | heif-thumbnailer Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [heif-thumbnailer 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-heif-thumbnailer-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | heif-thumbnailer Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [heif-thumbnailer 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-heif-thumbnailer-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | heif-view Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [heif-view 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-heif-view-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | heif-view Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [heif-view 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-heif-view-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif Debian 13.5 (trixie) | 1.19.8-1+deb13u1 | [DEBIAN-CVE-2026-32740](https://patchblox.com/security/data/fix/linux/debian-cve-2026-32740.md) | May 19, 2026 |
| Linux | libheif Debian 14 | 1.23.1-1 | [DEBIAN-CVE-2026-32740](https://patchblox.com/security/data/fix/linux/debian-cve-2026-32740.md) | May 19, 2026 |
| Linux | libheif amzn 2023 | 1.19.8-1.amzn2023.0.5 | [ALAS2023-2026-1814](https://patchblox.com/security/data/fix/linux/alas2023-2026-1814.md) | Jun 8, 2026 |
| Linux | libheif opensuse-leap 16.0 | 1.23.0-160000.1.1 | [OPENSUSE-SU-2026:20974-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20974-1.md) | Jun 17, 2026 |
| Linux | libheif sles 15.7 | 1.23.0-150700.3.15.1 | [SUSE-SU-2026:2622-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2622-1.md) | Jun 24, 2026 |
| Linux | libheif sles 16.0 | 1.23.0-160000.1.1 | [SUSE-SU-2026:22153-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22153-1.md) | Jun 17, 2026 |
| Linux | libheif-debuginfo amzn 2023 | 1.19.8-1.amzn2023.0.5 | [ALAS2023-2026-1814](https://patchblox.com/security/data/fix/linux/alas2023-2026-1814.md) | Jun 8, 2026 |
| Linux | libheif-debugsource amzn 2023 | 1.19.8-1.amzn2023.0.5 | [ALAS2023-2026-1814](https://patchblox.com/security/data/fix/linux/alas2023-2026-1814.md) | Jun 8, 2026 |
| Linux | libheif-devel amzn 2023 | 1.19.8-1.amzn2023.0.5 | [ALAS2023-2026-1814](https://patchblox.com/security/data/fix/linux/alas2023-2026-1814.md) | Jun 8, 2026 |
| Linux | libheif-examples Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-examples 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-examples-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-examples Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-examples 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-examples-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-aomdec Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-aomdec 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-aomdec-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-aomdec Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-aomdec 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-aomdec-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-aomenc Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-aomenc 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-aomenc-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-aomenc Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-aomenc 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-aomenc-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-dav1d Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-dav1d 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-dav1d-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-dav1d Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-dav1d 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-dav1d-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-ffmpegdec Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-ffmpegdec 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-ffmpegdec-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-ffmpegdec Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-ffmpegdec 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-ffmpegdec-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-j2kdec Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-j2kdec 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-j2kdec-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-j2kdec Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-j2kdec 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-j2kdec-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-j2kenc Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-j2kenc 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-j2kenc-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-j2kenc Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-j2kenc 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-j2kenc-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-jpegdec Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-jpegdec 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-jpegdec-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-jpegdec Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-jpegdec 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-jpegdec-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-jpegenc Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-jpegenc 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-jpegenc-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-jpegenc Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-jpegenc 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-jpegenc-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-kvazaar Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-kvazaar 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-kvazaar-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-kvazaar Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-kvazaar 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-kvazaar-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-libde265 Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-libde265 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-libde265-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-libde265 Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-libde265 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-libde265-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-rav1e Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-rav1e 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-rav1e-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-rav1e Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-rav1e 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-rav1e-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-svtenc Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-svtenc 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-svtenc-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-svtenc Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-svtenc 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-svtenc-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugin-x265 Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugin-x265 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugin-x265-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugin-x265 Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugin-x265 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-x265-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-plugins-all Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif-plugins-all 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif-plugins-all-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif-plugins-all Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif-plugins-all 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugins-all-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |
| Linux | libheif-tools amzn 2023 | 1.19.8-1.amzn2023.0.5 | [ALAS2023-2026-1814](https://patchblox.com/security/data/fix/linux/alas2023-2026-1814.md) | Jun 8, 2026 |
| Linux | libheif-tools-debuginfo amzn 2023 | 1.19.8-1.amzn2023.0.5 | [ALAS2023-2026-1814](https://patchblox.com/security/data/fix/linux/alas2023-2026-1814.md) | Jun 8, 2026 |
| Linux | libheif1 Ubuntu 25.10 (questing) | 1.20.2-1ubuntu0.4 | [libheif1 1.20.2-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libheif1-1.20.2-1ubuntu0.4.md) | Jun 24, 2026 |
| Linux | libheif1 Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.1 | [libheif1 1.21.2-3ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif1-1.21.2-3ubuntu0.1.md) | Jul 21, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
