Integer overflow in libheif - #VU146733
Published: September 2, 2026
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().