Vulnerability · Published Aug 18, 2026 · Assigned by GitHub_M

CVE-2026-62292libheif: Out-of-bounds read in uncompressed unci tile range slicing

High 8.7

In plain English

A high-severity out-of-bounds read in libheif from strukturag. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.6%top 53.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.1, a crafted uncompressed HEIF image using generic zlib unci full-item compression can crash an application that decodes an advertised tile with heif_image_handle_decode_image_tile(). In libheif/codecs/uncompressed/unc_decoder.cc, unc_decoder::fetch_tile_data() computes a large tile offset and unc_decoder::get_compressed_image_data_uncompressed() validates it with range_start_offset plus range_size. For the last advertised tile (4095, 4095), the addition can wrap to zero, bypass the bounds check, and pass an invalid source pointer and a one-terabyte length to memcpy. The observed result is an out-of-bounds read and process crash; opening the file alone does not trigger the issue because tile decoding is required. This issue is fixed in version 1.23.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libheifno fix listedDEBIAN-CVE-2026-62292
Debian:13libheif1.19.8-1+deb13u1DEBIAN-CVE-2026-62292
Debian:14libheif1.23.1-1DEBIAN-CVE-2026-62292
Ubuntu:26.04:LTSlibheif1.21.2-3ubuntu0.4UBUNTU-CVE-2026-62292

Affected products (as reported)

VendorProductVersions
strukturag libheif >= 1.19.0, < 1.23.1

Weakness: CWE-125 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References