NULL pointer dereference in libheif - #VU158870

 

NULL pointer dereference in libheif - #VU158870

Published: November 3, 2026


Vulnerability identifier: #VU158870
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

libheif

Remediation

Install security update from vendor's website.

libheif - update to 1.23.6

External References

Related Security Bulletins