{"id":"CVE-2026-49271","published":"2026-06-19T17:16:20Z","modified":"2026-06-22T17:05:02Z","title":"libheif: Wrapped icef compressed-unit range check causes out-of-bounds read in uncompressed HEIF decoder","vendor":"strukturag","product":"libheif","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00355,"percentile":0.29968,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-r7qj-cg5r-r6vf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":5.99},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"strukturag","affectedVersions":[{"vendor":"strukturag","product":"libheif","versions":["< 1.22.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T17:01:07.409364Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-38055","exploited":false,"provenance":"source"}}