Use-after-free in libheif - #VU158753
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service in applications that decode untrusted HEIF images.
The vulnerability exists due to a heap use-after-free in libheif's derived-image bit-depth queries when decoding grid tiles in parallel. A remote attacker can submit a crafted HEIF image containing derived tiles that share a coded input, causing one thread to access cached decoder data freed by another thread, to crash an image-processing service and deny service.
The vulnerable path executes before codec plugin selection, so exploitation does not require an OpenJPEG decoder plugin.