FFmpeg buffer overflow in Vulkan slice decoding
FFmpeg
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| FFmpeg FFmpeg |
| No fix yet |
Original description
FFmpeg 7.1 through 9.0.2 contains an integer overflow in ff_vk_decode_add_slice() in libavcodec/vulkan_decode.c that miscalculates the Vulkan hwaccel bitstream buffer size. Attackers can supply a crafted stream with over 2 GiB of slice data per frame, causing memcpy() to write past a smaller pooled host-mapped buffer.
From the CVE record · VulnCheck