Integer overflow in libheif - #VU131969
Published: May 20, 2026
libheif
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to integer overflow in compute_tile_data_size_bytes in libheif/codecs/uncompressed/unc_encoder_rgb_bytealign_pixel_interleave.cc when processing crafted image data. A remote attacker can supply values that trigger 32-bit multiplication wraparound in tile size calculations to cause a denial of service.
The wrapped result is used for tile data offset calculation in unc_image.cc.