NULL pointer dereference in libheif - #VU158870
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing an application that decodes an untrusted HEIF image sequence.
The vulnerability exists due to a null pointer dereference in libheif's Track_Visual::decode_next_image_sample() when decoding a sequence whose stsc box maps a later chunk to a non-visual stsd sample entry. A remote attacker can trick a victim into decoding a specially crafted HEIF sequence through heif_track_decode_next_image() to terminate the application because the chunk has no decoder and the decoder pointer is guarded only by an assertion.