Out-of-bounds read in libheif - CVE-2026-49271
Published: June 26, 2026
libheif
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an out-of-bounds read in unc_decoder::get_compressed_image_data_uncompressed when parsing a crafted HEIF file with wrapped icef compressed-unit offsets and sizes. A remote attacker can supply a specially crafted HEIF file to cause a denial of service.
The issue is reached when the cmpC compressed unit type is not image_tile, and user interaction is required to decode the crafted media.