Integer overflow in libheif - #VU146733

 

Integer overflow in libheif - #VU146733

Published: September 2, 2026


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

Vulnerability details

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

The vulnerability exists due to an integer overflow in GetPlane in the Go language binding when processing a large HEIF image and calculating stride multiplied by height with a 32-bit integer. A remote attacker can upload a specially crafted HEIF file to cause a denial of service.

The issue occurs because the binding uses the deprecated heif_image_get_plane() API instead of heif_image_get_plane2().


Affected software

libheif

Remediation

Install security update from vendor's website.

libheif - update to 1.23.3

External References

Related Security Bulletins