CVE-2026-142497: libheif 1.22.0 before 1.23.4 Deadlock in Parallel Grid Tile Decoding
libheif 1.22.0 before 1.23.4 contains a deadlock vulnerability in ImageItem::decodeimage() that allows attackers to hang decoding by supplying a crafted HEIF grid file. Grid tiles referencing each other as alpha auxiliary images cause worker threads to acquire item mutexes in opposite order, blocking the process permanently.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using libheif versions 1.22.0 through versions before 1.23.4 are affected when they decode attacker-controlled HEIF grid files. The impact is a permanent process hang caused by blocked decoding worker threads.
What must an attacker provide to trigger the issue?
An attacker must induce decoding of a crafted HEIF grid file whose grid tiles reference one another as alpha auxiliary images. No authentication or privileges are required, but user interaction is required according to the supplied vector.
Is confidentiality or integrity affected?
The provided assessment identifies availability impact only. It assigns no confidentiality or integrity impact and describes the outcome as a decoding deadlock.
How can I remediate the issue?
Upgrade libheif to version 1.23.4 or later. The affected range starts at 1.22.0 and ends before 1.23.4.