Out-of-bounds read in libheif - #VU158755

 

Out-of-bounds read in libheif - #VU158755

Published: November 3, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to disclose process memory through decoded images or cause a denial of service.

The vulnerability exists due to an out-of-bounds read in libheif's OpenH264 decoding path when processing an AVC-coded HEIF file containing an SPS that the coded-size scanner cannot parse. A remote attacker can supply a specially crafted file with cropping offsets that overflow a signed 32-bit check, causing rejected SPS data to reach OpenH264 and the plugin to copy from image-plane pointers outside the decoded frame buffer, to disclose process memory or crash the application.


Affected software

libheif

Remediation

Install security update from vendor's website.

libheif - update to 1.23.7

External References

Related Security Bulletins