Allocation of Resources Without Limits or Throttling in libheif - #VU158868

 

Allocation of Resources Without Limits or Throttling in libheif - #VU158868

Published: November 3, 2026


Vulnerability identifier: #VU158868
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-770
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.

The vulnerability exists due to missing accumulated memory accounting in the image_tile branch of libheif's unc_decoder::get_compressed_image_data_uncompressed() and its tile-data accumulation when decoding generically compressed HEIF tiles. A remote attacker can submit a specially crafted HEIF file whose individual decompressed units satisfy per-unit checks but whose retained buffers exceed the configured total memory budget to exhaust memory.

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