libheif 1.20.0 before 1.23.6 contains a null pointer dereference vulnerability in Track_Visual::decode_next_image_sample() 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 heif_track_decode_next_image() to call through a null decoder pointer.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142499.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.20.0"
},
{
"fixed": "1.23.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "2b87e150b3fce9d0b29c7d97423b38ce3d8239fc"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.23.6",
"range": [
{
"fixed": "f81f28ac014b1c28dee483ac45b72c6b05bc421a"
}
],
"source": "REFERENCES_TAG"
}
]
}