Allocation of Resources Without Limits or Throttling in libheif - #VU158868
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through excessive memory consumption.
The vulnerability exists due to missing accumulated memory accounting in the image_tile branch of libheif's unc_decoder::get_compressed_image_data_uncompressed() and its tile-data accumulation when decoding generically compressed HEIF tiles. A remote attacker can submit a specially crafted HEIF file whose individual decompressed units satisfy per-unit checks but whose retained buffers exceed the configured total memory budget to exhaust memory.
Exploitation requires a build with WITH_UNCOMPRESSED_CODEC=ON and either zlib or brotli available.