Out-of-bounds write in libheif - #VU145251

 

Out-of-bounds write in libheif - #VU145251

Published: August 25, 2026


Vulnerability identifier: #VU145251
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to out-of-bounds read and out-of-bounds write in derived-item and pixel-plane handling when parsing a malformed HEIC image file. A remote attacker can supply a specially crafted HEIC image file to execute arbitrary code.

The issue stems from incorrect assumptions about HeifPixelImage logical geometry and channel plane backing, which can be violated through derived items and auxiliary chains.


Affected software

libheif

Remediation

Install security update from vendor's website.

libheif - update to 1.23.2

External References

Related Security Bulletins