CVE-2026-142500: libheif 1.22.0 before 1.23.6 Memory Exhaustion via unci Decompressed Tile Data
libheif 1.22.0 before 1.23.6 contains a memory exhaustion vulnerability in the uncompressed (unci) codec that bypasses the maxtotalmemory limit for imagetile compressed units. Attackers can supply a crafted 22 KB HEIF file whose tiles are re-inflated per component, causing multi-gigabyte allocations that exhaust memory in the decoding application.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Applications using libheif versions from 1.22.0 up to, but not including, 1.23.6 are affected when they decode HEIF content using the uncompressed (unci) codec.
What must an attacker do to trigger the issue?
An attacker must provide a crafted HEIF file and have it processed by the decoding application. The supplied data indicates user interaction is required, such as inducing a user or workflow to decode the file.
Does configuring max_total_memory prevent exploitation?
No. The vulnerability bypasses the max_total_memory limit for image_tile compressed units, allowing tile data to be re-inflated per component and consume multi-gigabyte amounts of memory.
What is the remediation?
Upgrade libheif to version 1.23.6 or later. The available information identifies 1.23.6 as the release containing the fix.