Reachable assertion in libheif - #VU153979
Published: October 8, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to a reachable assertion in ImageItem_Grid::decode_and_paste_tile_image() in libheif/image-items/grid.cc when decoding a grid image whose tiles have an alpha plane with more than 16 bits per sample. A remote attacker can supply a specially crafted image file to cause a denial of service.
Exploitation requires user interaction and a build with assertions enabled and the uncompressed codec enabled through WITH_UNCOMPRESSED_CODEC. The uncompressed codec is disabled in the default build configuration.