{"id":"CVE-2026-142497","summary":"libheif 1.22.0 before 1.23.4 Deadlock in Parallel Grid Tile Decoding","details":"libheif 1.22.0 before 1.23.4 contains a deadlock vulnerability in ImageItem::decode_image() that allows attackers to hang decoding by supplying a crafted HEIF grid file. Grid tiles referencing each other as alpha auxiliary images cause worker threads to acquire item mutexes in opposite order, blocking the process permanently.","aliases":["GHSA-prgh-72vc-3xmc"],"modified":"2026-12-02T21:45:49.500582736Z","published":"2026-12-02T17:42:30.880Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-833"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142497.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142497.json"},{"type":"PACKAGE","url":"https://github.com/strukturag/libheif"},{"type":"ARTICLE","url":"https://github.com/strukturag/libheif/blob/v1.23.3/libheif/image-items/image_item.cc#L916-L1067"},{"type":"FIX","url":"https://github.com/strukturag/libheif/commit/f8beb40213cee192776533a80fc1a1a92ca7da4a"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/releases/tag/v1.23.4"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-prgh-72vc-3xmc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142497"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.4-deadlock-in-parallel-grid-tile-decoding"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libheif","events":[{"introduced":"0c81a846b7401dbdb7118afd0761057f21e43511"},{"fixed":"4e14f5942c1732ace9611b9522cc991501445463"},{"fixed":"f8beb40213cee192776533a80fc1a1a92ca7da4a"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.22.0"},{"fixed":"1.23.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"f8beb40213cee192776533a80fc1a1a92ca7da4a"}]},{"original_tag":"v1.23.4","range":[{"fixed":"4e14f5942c1732ace9611b9522cc991501445463"}],"source":"REFERENCES_TAG"}]}}],"versions":["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-142497.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"}]}