MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-50142

libheif: unbounded heap allocation in HEIF sequence parser (stsz fixed-size mode missing bound check)

Not on CISA KEV
  • Overview

Summary

libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.0, a crafted HEIF sequence accepted by heif_context_read_from_memory() with the msf1 sequence brand can cause unbounded heap allocation. In libheif/sequences/seq_boxes.cc, Box_stsz::parse() applies

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • PoC-in-GitHub Source: PoC-in-GitHub