A flaw exists in strukturag libheif, specifically within the `Track::load` function located in the `libheif/sequences/track.cc` file, related to the `stsz/stts` component. This can lead to an out-of-bounds read condition. The attack requires local access. An exploit for this issue is publicly available.