CVE-2026-142497

NameCVE-2026-142497
Descriptionlibheif 1.22.0 before 1.23.4 contains a deadlock vulnerability in ImageItem::decode_image() 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1148137

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libheif (PTS)bookworm1.15.1-1+deb12u1fixed
bookworm (security)1.15.1-1+deb12u2fixed
trixie (security), trixie1.23.6-2~deb13u1fixed
forky, sid1.23.7-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libheifsourcebookworm(not affected)
libheifsourcetrixie(not affected)
libheifsource(unstable)1.23.4-11148137

Notes

[trixie] - libheif <not-affected> (Vulnerable code not present)
[bookworm] - libheif <not-affected> (Vulnerable code not present)
https://github.com/strukturag/libheif/security/advisories/GHSA-prgh-72vc-3xmc
Fixed by: https://github.com/strukturag/libheif/commit/f8beb40213cee192776533a80fc1a1a92ca7da4a (v1.23.4)

Search for package or bug name: Reporting problems