PT-2026-42006 · Libheif · Libheif

Published

2026-05-19

·

Updated

2026-06-03

·

CVE-2026-32814

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions libheif versions prior to 1.22.0
Description When decoding a HEIF grid image with strict decoding set to false (the default), a corrupted tile may fail to decode silently. The library returns heif error Ok without indicating failure, resulting in an uninitialized heap memory information leak. This occurs because the canvas is allocated via create clone image at new size()plane.alloc()new (std::nothrow) uint8 t[allocation size], which does not zero the memory. While the alpha plane is initialized via fill plane(), the Y, Cb, and Cr planes retain previous heap data. Consequently, the failed tile's region contains uninitialized heap data delivered to the caller as decoded pixel values, totaling over 12,288 bytes. In server-side processing, a crafted .heic or .avif file can leak sensitive cross-user data, such as authentication tokens or database results, when the image is decoded and re-encoded for thumbnails or CDNs.
Recommendations Update to version 1.22.0.

Exploit

Fix

Information Disclosure

Use of Uninitialized Resource

Weakness Enumeration

Related Identifiers

CVE-2026-32814
ECHO-75D9-35E8-0F25
OPENSUSE-SU-2026:10878-1

Affected Products

Libheif