Out-of-bounds write in libheif - CVE-2026-47178
Published: May 20, 2026
libheif
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to out-of-bounds write in unc_decoder_component_interleave::decode_tile() when parsing a crafted HEIF file using the uncompressed unci codec with tiled, component-interleaved 4:2:0 content. A remote attacker can supply a specially crafted HEIF file to execute arbitrary code.
Only instances built with WITH_UNCOMPRESSED_CODEC=ON are vulnerable.