Improper handling of highly compressed data in libheif - #VU158869

 

Improper handling of highly compressed data in libheif - #VU158869

Published: November 3, 2026


Vulnerability identifier: #VU158869
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-409
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through excessive memory consumption and repeated decompression work.

The vulnerability exists due to improper handling of compressed data in the image_tile branch of libheif's unc_decoder::get_compressed_image_data_uncompressed() when processing tile-component-interleaved HEIF images. A remote attacker can submit a specially crafted file that causes requested component byte ranges to be ignored, making unc_decoder::fetch_tile_data() repeatedly read and decompress the same entire unit and concatenate one full copy per component to exhaust resources.

Exploitation requires a build with WITH_UNCOMPRESSED_CODEC=ON and either zlib or brotli available.


Affected software

libheif

Remediation

Install security update from vendor's website.

libheif - update to 1.23.6

External References

Related Security Bulletins