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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libheif | >= 1.22.0, < 1.23.4 |
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
- https://github.com/strukturag/libheif/security/advisories/GHSA-prgh-72vc-3xmc
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Deferred