Improper handling of highly compressed data in libheif - #VU158869
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through excessive memory consumption and repeated decompression work.
The vulnerability exists due to improper handling of compressed data in the image_tile branch of libheif's unc_decoder::get_compressed_image_data_uncompressed() when processing tile-component-interleaved HEIF images. A remote attacker can submit a specially crafted file that causes requested component byte ranges to be ignored, making unc_decoder::fetch_tile_data() repeatedly read and decompress the same entire unit and concatenate one full copy per component to exhaust resources.
Exploitation requires a build with WITH_UNCOMPRESSED_CODEC=ON and either zlib or brotli available.