---
title: "CVE-2026-62291"
canonical_url: "https://pkgseek.com/security/CVE-2026-62291"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-62291

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()…

CVE-2026-62291 is rated MEDIUM (5.3), with 7 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.3)
- **Affected builds**: 7
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | noble | heif-gdk-pixbuf | 1.17.6-1ubuntu4 | — |
| Ubuntu | noble | heif-thumbnailer | 1.17.6-1ubuntu4 | — |
| Ubuntu | noble | libheif1 | 1.17.6-1ubuntu4 | — |
| Ubuntu | noble | libheif-examples | 1.17.6-1ubuntu4 | — |
| Ubuntu | noble | libheif-plugin-aomdec | 1.17.6-1ubuntu4 | — |
| Ubuntu | noble | libheif-plugin-aomenc | 1.17.6-1ubuntu4 | — |
| Ubuntu | noble | libheif-plugin-libde265 | 1.17.6-1ubuntu4 | — |
