Out-of-bounds read in libheif - CVE-2026-49271

 

Out-of-bounds read in libheif - CVE-2026-49271

Published: June 26, 2026


Vulnerability identifier: #VU135510
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-49271
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: struktur AG
Affected software:
libheif

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to an out-of-bounds read in unc_decoder::get_compressed_image_data_uncompressed when parsing a crafted HEIF file with wrapped icef compressed-unit offsets and sizes. A remote attacker can supply a specially crafted HEIF file to cause a denial of service.

The issue is reached when the cmpC compressed unit type is not image_tile, and user interaction is required to decode the crafted media.


How to mitigate CVE-2026-49271

Install security update from vendor's website.

Sources