A use-of-uninitialized-value vulnerability was identified in the kimageformats library within the decoder_context::construct_reference_picture_lists function. This issue was reported by OSS-Fuzz and affects multiple specific versions of kimageformats. The vulnerability can cause crashes during the processing of slice segment headers in video decoding. A patch has been made available to address this flaw.