{"id":"CVE-2026-62292","summary":"libheif: Out-of-bounds read in uncompressed unci tile range slicing","details":"libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.1, a crafted uncompressed HEIF image using generic zlib unci full-item compression can crash an application that decodes an advertised tile with heif_image_handle_decode_image_tile(). In libheif/codecs/uncompressed/unc_decoder.cc, unc_decoder::fetch_tile_data() computes a large tile offset and unc_decoder::get_compressed_image_data_uncompressed() validates it with range_start_offset plus range_size. For the last advertised tile (4095, 4095), the addition can wrap to zero, bypass the bounds check, and pass an invalid source pointer and a one-terabyte length to memcpy. The observed result is an out-of-bounds read and process crash; opening the file alone does not trigger the issue because tile decoding is required. This issue is fixed in version 1.23.1.","aliases":["GHSA-73p7-m7gg-w2jv"],"modified":"2026-09-11T08:36:37.130821Z","published":"2026-08-18T21:20:24.933Z","related":["SUSE-SU-2026:23320-1","SUSE-SU-2026:3597-1","openSUSE-SU-2026:11416-1","openSUSE-SU-2026:21644-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62292.json"},"references":[{"type":"WEB","url":"https://github.com/strukturag/libheif/releases/tag/v1.23.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62292.json"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-73p7-m7gg-w2jv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62292"},{"type":"FIX","url":"https://github.com/strukturag/libheif/commit/089a809bf6bed1abae102d5e97b6bb8c4f53b515"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libheif","events":[{"introduced":"c4e4657dcf6bcc06e934632f97736f7c78dbff9e"},{"fixed":"089a809bf6bed1abae102d5e97b6bb8c4f53b515"},{"fixed":"2c4bbb54c2738d4a5efbbe3e5fa1d5d76bb88eb0"}],"database_specific":{"extracted_events":[{"introduced":"1.19.0"},{"fixed":"1.23.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["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","v1.19.5","v1.19.4","v1.19.3","v1.19.2","v1.19.1","v1.19.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62292.json","vanir_signatures_modified":"2026-09-11T08:36:37Z","vanir_signatures":[{"target":{"file":"libheif/codecs/uncompressed/unc_decoder.cc"},"deprecated":false,"digest":{"line_hashes":["314912376354515041452152808763086655271","43761784047124038306761265150067557578","19839146406464879342927444315999329524","280614601139895828286494313771936772299"],"threshold":0.9},"id":"CVE-2026-62292-58b20ea4","signature_type":"Line","signature_version":"v1","source":"https://github.com/strukturag/libheif/commit/089a809bf6bed1abae102d5e97b6bb8c4f53b515"},{"target":{"file":"libheif/codecs/uncompressed/unc_decoder.cc","function":"unc_decoder::get_compressed_image_data_uncompressed"},"deprecated":false,"digest":{"function_hash":"42233311125132095353969197460884581974","length":2676},"id":"CVE-2026-62292-9b69073b","signature_type":"Function","signature_version":"v1","source":"https://github.com/strukturag/libheif/commit/089a809bf6bed1abae102d5e97b6bb8c4f53b515"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}