CVE-2026-142503
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.
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.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
CWEs
CWE-617
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.