{"id":"CVE-2026-142503","summary":"libheif 1.22.0 before 1.23.6 Reachable Assertion DoS via Grid Image Alpha Plane","details":"libheif 1.22.0 before 1.23.6 contains a reachable assertion in ImageItem_Grid::decode_and_paste_tile_image() that allows attackers to crash applications by supplying grid images with oversized alpha planes. Attackers can craft a HEIF file containing a grid of uncompressed (unci) tiles with a 64-bit alpha component to terminate the decoding application or trigger an undefined shift.","aliases":["GHSA-3gwx-cjv4-jr74"],"modified":"2026-12-02T19:00:12.832656276Z","published":"2026-12-02T17:42:24.397Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-617"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142503.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142503.json"},{"type":"PACKAGE","url":"https://github.com/strukturag/libheif"},{"type":"ARTICLE","url":"https://github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.cc#L566-L570"},{"type":"FIX","url":"https://github.com/strukturag/libheif/commit/858398f9654113b5b049beb8f2855a8e291fde19"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/releases/tag/v1.23.6"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-3gwx-cjv4-jr74"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142503"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.6-reachable-assertion-dos-via-grid-image-alpha-plane"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libheif","events":[{"introduced":"0c81a846b7401dbdb7118afd0761057f21e43511"},{"fixed":"f81f28ac014b1c28dee483ac45b72c6b05bc421a"},{"fixed":"858398f9654113b5b049beb8f2855a8e291fde19"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.22.0"},{"fixed":"1.23.6"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"858398f9654113b5b049beb8f2855a8e291fde19"}]},{"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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142503.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}