FFmpeg before 9.1 contains a double free vulnerability in the fill_marker() function of libavformat/imf_cpl.c that frees a Marker label without clearing the pointer when default scope allocation fails. Attackers can supply a crafted Composition Playlist with a Marker Label lacking a scope attribute, triggering a second free in imf_marker_free() under memory pressure and causing memory corruption or a crash.
https://www.vulncheck.com/advisories/ffmpeg-before-9.1-double-free-in-imf-cpl-parser-fill-marker
https://github.com/FFmpeg/FFmpeg/commit/301a611370a0ba81f4a71d3b7ccd064623606c1b
https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/imf_cpl.c#L315
https://github.com/FFmpeg/FFmpeg