Integer underflow in libheif - #VU135515

 

Integer underflow in libheif - #VU135515

Published: June 26, 2026


Vulnerability identifier: #VU135515
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-191
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: struktur AG
Affected software:
libheif

Detailed vulnerability description

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

The vulnerability exists due to integer underflow in the Fraction constructor when processing a crafted HEIF/AVIF file through the tiling API with process_image_transformations=1. A remote attacker can supply a specially crafted file to cause a denial of service.

User interaction is required to open the crafted file, or the issue can be triggered server-side when uploaded content is processed automatically.


Remediation

Install security update from vendor's website.

Sources