PT-2026-60429 · Libheif+2 · Libheif+2

CVE-2026-62291

·

Published

2026-07-16

·

Updated

2026-08-26

CVSS v3.1

5.3

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions libheif versions prior to 1.23.1
Description An issue exists in the uncompressed encoder where a crafted image sequence with mismatched dimensions between the primary plane and the auxiliary alpha plane can lead to heap corruption during a decode and re-encode workflow. Specifically, the function Track Visual::decode next image sample() calls transfer channel from image as() without verifying that the auxiliary alpha dimensions match the main frame. This inconsistency propagates through heif track decode next image() to heif context encode image(). Within unc encoder::encode(), the function unc encoder component interleave::encode tile() calculates the buffer size using compute tile data size bytes() based on primary dimensions but copies components using their actual plane dimensions. This results in an out-of-bounds write when the alpha plane is oversized, and can potentially cause an out-of-bounds read if the size mismatch is inverted.
Recommendations Update libheif to version 1.23.1.

Exploit

Fix

Memory Corruption

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-62291
ECHO-9D99-9ED1-60B7
GHSA-XPW3-9RHW-482X
OPENSUSE-SU-2026:11416-1
OPENSUSE-SU-2026:21644-1
SUSE-SU-2026:23320-1
SUSE-SU-2026:3597-1
USN-8683-1

Affected Products

Linuxmint
Ubuntu
Libheif