FFmpeg before 9.1 contains a NULL pointer dereference vulnerability in avformat_stream_group_create() in libavformat/options.c that sets the group type before allocating parameters. Attackers can supply crafted HEIF/AVIF files whose tile grid parsing under allocation failure makes ff_free_stream_group() dereference a NULL tile_grid, crashing the application.
https://github.com/FFmpeg/FFmpeg/commit/403b3c294f765a0a3395cb3ffb72e23d8633cb56
https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/options.c#L490
https://github.com/FFmpeg/FFmpeg