Description
FFmpeg 7.0 before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in vk_av1_decode_slice() in libavcodec/vulkan_av1.c because the tile-count limit is checked only on entry. Attackers can supply a crafted AV1 stream with more than 256 tiles decoded via the Vulkan hardware accelerator to overflow tile_sizes and corrupt heap memory.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
FFmpeg FFmpeg
Default version status: unaffected
7.0 to < 8.1.3affected9.0 to < 9.0.2affected
pkg:github/ffmpeg/ffmpegReferences
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24289 ↗
- https://github.com/FFmpeg/FFmpeg/commit/d29ff884221042af219e53cc339a62356b061816 ↗
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vulkan_av1.c#L578 ↗
- https://github.com/FFmpeg/FFmpeg ↗
- https://www.vulncheck.com/advisories/ffmpeg-7.0-before-8.1.3-and-9-x-before-9.0.2-heap-overflow-via-vulkan-av1-c ↗