CVE-2026-142499: libheif 1.20.0 before 1.23.6 NULL Pointer Dereference via Track_Visual::decode_next_image_sample()
libheif 1.20.0 before 1.23.6 contains a null pointer dereference vulnerability in TrackVisual::decodenextimagesample() that allows attackers to crash the process via crafted HEIF image sequences. Attackers can map a later chunk in the 'stsc' box to a non-visual 'stsd' sample entry such as 'mp4a', causing heiftrackdecodenextimage() to call through a null decoder pointer.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Applications using libheif versions 1.20.0 through versions before 1.23.6 are affected if they process HEIF image sequences supplied by an attacker. The vulnerable path is reached while decoding image samples in a crafted sequence.
What must an attacker provide to trigger the issue?
The attacker must induce processing of a crafted HEIF image sequence. The file maps a later chunk in the stsc box to a non-visual stsd sample entry, such as mp4a, causing a call through a null decoder pointer.
What is the practical impact of successful exploitation?
Successful exploitation crashes the process decoding the crafted content, resulting in a denial of service. The provided information does not indicate confidentiality or integrity impact.
How can the issue be remediated?
Update libheif to version 1.23.6 or later. The affected range is identified as 1.20.0 through versions before 1.23.6.