Allocation of Resources Without Limits or Throttling in libheif - CVE-2026-50142
Published: June 26, 2026
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.