CVE-2026-142497
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/strukturag/libheif/blob/v1.23.3/libheif/image-items/image_item.cc#L916-L1067
- https://github.com/strukturag/libheif/commit/f8beb40213cee192776533a80fc1a1a92ca7da4a
- https://github.com/strukturag/libheif/releases/tag/v1.23.4
- https://github.com/strukturag/libheif/security/advisories/GHSA-prgh-72vc-3xmc
- https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.4-deadlock-in-parallel-grid-tile-decoding
CWEs
CWE-833
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.