DescriptionFFmpeg 7.1 before 8.1 contains a NULL pointer dereference vulnerability in decode_slice() in libavcodec/hevc/hevcdec.c that leaves a stale slice_initialized flag after early returns. Attackers can supply a crafted HEVC stream whose dependent slice segment decodes against inconsistent state, crashing hls_prediction_unit() and causing denial of service.