{"id":"CVE-2026-49271","aliases":["CVE-2026-49271"],"related":[],"kind":"vulnerability","state":"published","title":"libheif: Wrapped icef compressed-unit range check causes out-of-bounds read in uncompressed HEIF decoder","summary":"libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.1, the uncompressed HEIF decoder validates explicit icef compressed-unit offsets using unit_offset + unit_size. Because the addition can wrap, a crafted HEIF file can pass the range check and then construct a vector from iterators outside the compressed item buffer, producing an out-of-bounds heap read and crash. Version 1.22.1 patches the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.1, the uncompressed HEIF decoder validates explicit icef compressed-unit offsets using unit_offset + unit_size. Because the addition can wrap, a crafted HEIF file can pass the range check and then construct a vector from iterators outside the compressed item buffer, producing an out-of-bounds heap read and crash. Version 1.22.1 patches the issue.","source":"cvelist"},{"lang":"es","text":"libheif es un decodificador y codificador de formato de archivo HEIF y AVIF. Antes de la versión 1.22.1, el decodificador HEIF sin comprimir valida los desplazamientos explícitos de unidades comprimidas icef utilizando unit_offset + unit_size. Debido a que la adición puede desbordarse, un archivo HEIF manipulado puede pasar la verificación de rango y luego construir un vector a partir de iteradores fuera del búfer de elementos comprimidos, produciendo una lectura fuera de límites en el heap y un fallo. La versión 1.22.1 corrige el problema.","source":"nvd"}],"published":"2026-06-19T17:16:20.157Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"< 1.22.1","status":"affected"}],"vendor":"strukturag","product":"libheif","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.22.1"}],"vendor":"struktur","product":"libheif","cpe":"cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-r7qj-cg5r-r6vf","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-22T17:01:07.409Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49271","url":"https://www.cve.org/CVERecord?id=CVE-2026-49271","licence":"CVE Terms of Use","modified":"2026-06-22T17:05:02.343Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49271","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49271","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:25.273Z","epss":{"score":0.00199,"percentile":0.10262,"date":"2026-12-01T12:00:22.000Z"}}