Description
libheif 1.22.0 before 1.23.6 contains a reachable assertion in ImageItem_Grid::decode_and_paste_tile_image() that allows attackers to crash applications by supplying grid images with oversized alpha planes. Attackers can craft a HEIF file containing a grid of uncompressed (unci) tiles with a 64-bit alpha component to terminate the decoding application or trigger an undefined shift.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:H/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.6 |
References
- https://github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.cc#L566-L570
- https://github.com/strukturag/libheif/commit/858398f9654113b5b049beb8f2855a8e291fde19
- https://github.com/strukturag/libheif/releases/tag/v1.23.6
- https://github.com/strukturag/libheif/security/advisories/GHSA-3gwx-cjv4-jr74
- https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.6-reachable-assertion-dos-via-grid-image-alpha-plane
- https://github.com/strukturag/libheif/security/advisories/GHSA-3gwx-cjv4-jr74
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Deferred