Use of uninitialized resource in libheif - CVE-2026-32814
Published: May 20, 2026
libheif
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to use of uninitialized resource in ImageItem_Grid::decode_and_paste_tile_image() in libheif/image-items/grid.cc when decoding a crafted HEIF or AVIF grid image with strict_decoding=false. A remote attacker can supply a specially crafted file with a corrupted tile to disclose sensitive information.
User interaction is required to process the crafted file, and the issue occurs with the default decoding behavior where tile decode failures are returned as success.