NULL pointer dereference in libheif - #VU146730
Published: September 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to a null pointer dereference in heif_image_handle_get_depth_image_handle and heif_image_handle_get_depth_image_representation_info when processing a HEIF or AVIF file without a depth auxiliary image. A remote attacker can supply a file that lacks a depth auxiliary image to cause a denial of service.
Exploitation requires an application to call the depth API without first checking has_depth_image().