CVE-2026-142497: Vulnerability in Strukturag Libheif
Patch soon. libheif 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.
CWE-833
- Exploitation
- None confirmed
- Severity
- 7.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-6m4f-7g8c-7xx3
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-833
- Published
- 2 Dec 2026
- Last change
- 2 Dec 2026
Affected products
Affected versions and the first fixed release
- Strukturag Libheif From 1.22.0 before 1.23.4. Fixed in 1.23.4
Advisories
Vendor and security advisories
- github.com/strukturag/libheif/security/advisories/GHSA-prgh-72vc-3xmc
- github.com/strukturag/libheif/blob/v1.23.3/libheif/image-items/image_item.cc
- vulncheck.com/advisories/libheif-1.22.0-before-1.23.4-deadlock-in-parallel-grid-tile-de...
Patches and fixes
Updates, commits and release notes
- github.com/strukturag/libheif/commit/f8beb40213cee192776533a80fc1a1a92ca7da4a
- github.com/strukturag/libheif/releases/tag/v1.23.4
Related
- Libheif vulnerabilities Recent advisories, watch this product