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

CVE-2026-62291 is fixed in 20 products on 1 platform, first by SUSE-SU-2026:3597-1, released August 12, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-62291
- Priority: Routine
- CVSS: 5.3 (medium)
- EPSS: 0.0019
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 12, 2026

## Description

libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled heap corruption during a normal decode and re-encode workflow. Track_Visual::decode_next_image_sample() calls transfer_channel_from_image_as() without checking that the auxiliary alpha dimensions match the main frame. The resulting inconsistent image reaches heif_track_decode_next_image() and then heif_context_encode_image(). In unc_encoder::encode(), unc_encoder_component_interleave::encode_tile() sizes its buffer with compute_tile_data_size_bytes() using the primary dimensions but copies each component using its actual plane dimensions. The oversized alpha plane is therefore copied beyond the allocation, causing an out-of-bounds write; the inverse size mismatch can also produce an out-of-bounds read. This issue is fixed in version 1.23.1.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | heif-gdk-pixbuf Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [heif-gdk-pixbuf 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-heif-gdk-pixbuf-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | heif-gdk-pixbuf Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [heif-gdk-pixbuf 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-heif-gdk-pixbuf-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | heif-thumbnailer Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [heif-thumbnailer 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-heif-thumbnailer-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | heif-thumbnailer Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [heif-thumbnailer 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-heif-thumbnailer-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | heif-view Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [heif-view 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-heif-view-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif Debian 14 | 1.23.1-1 | [DEBIAN-CVE-2026-62291](https://patchblox.com/security/data/fix/linux/debian-cve-2026-62291.md) | Aug 20, 2026 |
| Linux | libheif opensuse-leap 16.0 | 1.23.1-160000.1.1 | [OPENSUSE-SU-2026:21644-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21644-1.md) | Aug 25, 2026 |
| Linux | libheif sles 15.7 | 1.23.1-150700.3.18.1 | [SUSE-SU-2026:3597-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3597-1.md) | Aug 12, 2026 |
| Linux | libheif sles 16.0 | 1.23.1-160000.1.1 | [SUSE-SU-2026:23320-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23320-1.md) | Aug 25, 2026 |
| Linux | libheif-examples Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-examples 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-examples-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-examples Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-examples 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-examples-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-aomdec Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-aomdec 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-aomdec-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-aomdec Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-aomdec 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-aomdec-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-aomenc Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-aomenc 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-aomenc-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-aomenc Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-aomenc 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-aomenc-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-dav1d Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-dav1d 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-dav1d-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-dav1d Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-dav1d 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-dav1d-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-ffmpegdec Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-ffmpegdec 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-ffmpegdec-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-ffmpegdec Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-ffmpegdec 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-ffmpegdec-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-j2kdec Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-j2kdec 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-j2kdec-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-j2kdec Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-j2kdec 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-j2kdec-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-j2kenc Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-j2kenc 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-j2kenc-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-j2kenc Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-j2kenc 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-j2kenc-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-jpegdec Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-jpegdec 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-jpegdec-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-jpegdec Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-jpegdec 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-jpegdec-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-jpegenc Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-jpegenc 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-jpegenc-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-jpegenc Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-jpegenc 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-jpegenc-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-kvazaar Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-kvazaar 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-kvazaar-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-libde265 Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-libde265 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-libde265-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-libde265 Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-libde265 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-libde265-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-rav1e Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-rav1e 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-rav1e-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-rav1e Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-rav1e 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-rav1e-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-svtenc Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-svtenc 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-svtenc-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-svtenc Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-svtenc 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-svtenc-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugin-x265 Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif-plugin-x265 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif-plugin-x265-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif-plugin-x265 Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugin-x265 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugin-x265-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif-plugins-all Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif-plugins-all 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif-plugins-all-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |
| Linux | libheif1 Ubuntu 24.04.5 LTS (noble) | 1.17.6-1ubuntu4.8 | [libheif1 1.17.6-1ubuntu4.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libheif1-1.17.6-1ubuntu4.8.md) | Sep 3, 2026 |
| Linux | libheif1 Ubuntu 26.04.1 LTS (resolute) | 1.21.2-3ubuntu0.5 | [libheif1 1.21.2-3ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libheif1-1.21.2-3ubuntu0.5.md) | Aug 19, 2026 |

---

Data as of 2026-11-09T13:31:49Z 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.
