CVE-2026-49271

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductStruktur Libheif
PublishedJun 19, 2026
First seenJun 19, 2026

How to fix

Update
  • struktur libheif1.22.1 or later

Affected products

ProductAffected versionsFixed in
struktur libheifv < 1.22.11.22.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.