Improper Handling of Length Parameter Inconsistency in libheif - #VU146734

 

Improper Handling of Length Parameter Inconsistency in libheif - #VU146734

Published: September 2, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to a buffer size mismatch causing an out-of-bounds read in SDL_YUV_Display::display420 and heif_view when displaying a crafted HEIF sequence whose declared track resolution is larger than the decoded frame dimensions. A remote attacker can trick the victim into opening a crafted HEIF file to disclose sensitive information.

The example viewer initializes the SDL texture from attacker-controlled VisualSampleEntry dimensions and does not verify that decoded frame dimensions match them.


Affected software

libheif

Remediation

Install security update from vendor's website.

libheif - update to 1.23.3

External References

Related Security Bulletins