Allocation of Resources Without Limits or Throttling in libheif - CVE-2026-50142

 

Allocation of Resources Without Limits or Throttling in libheif - CVE-2026-50142

Published: June 26, 2026


Vulnerability identifier: #VU135511
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-50142
CWE-ID: CWE-770
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 allocation of resources without limits or throttling in Box_stsz::parse() fixed-size mode when parsing a crafted HEIF sequence file through the public C API. A remote attacker can supply a crafted HEIF sequence file with an excessive sample_count value to cause a denial of service.

Only the file parser is exercised, and no decoder backend is required.


How to mitigate CVE-2026-50142

Install security update from vendor's website.

Sources