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.
{
"license": "CC-BY-4.0",
"sources": [
{
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49271",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-49271",
"id": "CVE-2026-49271",
"imported": "2026-08-03T06:12:12.877Z",
"published": "2026-06-19T18:16:19.353Z",
"database_specific": {
"status": "Analyzed"
},
"modified": "2026-06-26T12:33:18.310Z"
},
{
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-38055",
"id": "EUVD-2026-38055",
"imported": "2026-08-03T06:12:13.009Z",
"published": "2026-06-19T17:16:20Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38055",
"modified": "2026-06-22T17:05:02Z"
}
]
}