{"id":"CVE-2026-142499","summary":"libheif 1.20.0 before 1.23.6 NULL Pointer Dereference via Track_Visual::decode_next_image_sample()","details":"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.","aliases":["GHSA-8p2c-9wv4-rx4p"],"modified":"2026-12-03T00:45:19.797362783Z","published":"2026-12-02T17:42:28.706Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142499.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142499.json"},{"type":"PACKAGE","url":"https://github.com/strukturag/libheif"},{"type":"ARTICLE","url":"https://github.com/strukturag/libheif/blob/v1.23.5/libheif/sequences/track_visual.cc#L205-L214"},{"type":"FIX","url":"https://github.com/strukturag/libheif/commit/2b87e150b3fce9d0b29c7d97423b38ce3d8239fc"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/releases/tag/v1.23.6"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-8p2c-9wv4-rx4p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142499"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.6-null-pointer-dereference-via-track-visual-decode-next-image-sample"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libheif","events":[{"introduced":"a6d433aef7c854ce3fcdb7662b55f8bbcaca36c2"},{"fixed":"f81f28ac014b1c28dee483ac45b72c6b05bc421a"},{"fixed":"2b87e150b3fce9d0b29c7d97423b38ce3d8239fc"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"1.20.0"},{"fixed":"1.23.6"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"2b87e150b3fce9d0b29c7d97423b38ce3d8239fc"}]},{"source":"REFERENCES_TAG","original_tag":"v1.23.6","range":[{"fixed":"f81f28ac014b1c28dee483ac45b72c6b05bc421a"}]}]}}],"versions":["v1.23.5","v1.23.4","v1.23.3","v1.23.2","v1.23.1","v1.23.0","v1.22.2","v1.22.1","v1.22.0","v1.21.2","v1.21.1","v1.21.0","v1.20.1","v1.20.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142499.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}