Reachable assertion in libheif - #VU153979

 

Reachable assertion in libheif - #VU153979

Published: October 8, 2026


Vulnerability identifier: #VU153979
CSH Severity: Medium
CVSS v4: 5.6 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-617
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 a reachable assertion in ImageItem_Grid::decode_and_paste_tile_image() in libheif/image-items/grid.cc when decoding a grid image whose tiles have an alpha plane with more than 16 bits per sample. A remote attacker can supply a specially crafted image file to cause a denial of service.

Exploitation requires user interaction and a build with assertions enabled and the uncompressed codec enabled through WITH_UNCOMPRESSED_CODEC. The uncompressed codec is disabled in the default build configuration.


Affected software

libheif

Remediation

Install security update from vendor's website.

libheif - update to 1.23.6

External References

Related Security Bulletins