CVE-2026-142501: libheif 1.19.0 before 1.23.6 CPU Exhaustion DoS via unci Codec Decompression
libheif 1.19.0 before 1.23.6 contains a CPU exhaustion vulnerability in the uncompressed (unci) codec that re-decompresses and re-reads the entire item for every tile when a cmpC box lacks an icef box. Attackers can supply a crafted few-kilobyte HEIF file with a large tile grid and highly compressed payload to occupy a CPU core for minutes, causing denial of service.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this denial-of-service issue?
Deployments using libheif versions from 1.19.0 up to, but not including, 1.23.6 are affected when they process attacker-supplied HEIF files. A crafted file can occupy a CPU core for minutes.
What does an attacker need to exploit the issue?
An attacker needs to provide a crafted HEIF file for processing. The attack does not require privileges, but it does require user interaction according to the supplied vector.
What file characteristics trigger the excessive CPU use?
The crafted HEIF file uses the uncompressed (unci) codec with a cmpC box that lacks an icef box. It can be only a few kilobytes while declaring a large tile grid and using a highly compressed payload.
What is the remediation?
Update libheif to version 1.23.6 or later. The provided release and commit references identify the upstream fix.