Excessive Iteration in libheif - #VU158747

 

Excessive Iteration in libheif - #VU158747

Published: November 3, 2026


Vulnerability identifier: #VU158747
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-834
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 CPU exhaustion of an image-sequence decoding process or worker.

The vulnerability exists due to excessive iteration in libheif's heif_track_decode_next_image() function when processing repeating image sequences whose samples produce no decoded image. A remote attacker can supply a crafted HEIF sequence with a repeating edit list and a picture-less sample accepted by the decoder to keep a single decoding call submitting samples repeatedly, exhausting CPU resources.

The demonstrated decoder is libde265 for HEVC; other decoder plugins are affected only if they accept a nonempty sample without producing an image.


Affected software

libheif

Remediation

Install security update from vendor's website.

libheif - update to 1.23.7

External References

Related Security Bulletins