CVE-2026-49271: Struktur Libheif

Medium severity, CVSS 6.5. EPSS: 0.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Struktur Libheif: before 1.22.1 (fixed in 1.22.1)

Published 2026-06-19. Last modified 2026-06-26.