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.
References
| Link | Resource |
|---|---|
| https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136 | Issue Tracking Patch |
| https://github.com/FFmpeg/FFmpeg | Product |
| https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vulkan_decode.c#L345 | Patch |
| https://www.vulncheck.com/advisories/ffmpeg-7.1-through-9.0.2-heap-out-of-bounds-write-via-vulkan-slice-buffer-sizing | Third Party Advisory |
Configurations
History
30 Nov 2026, 16:22
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Ffmpeg ffmpeg
Ffmpeg |
|
| CPE | cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* | |
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136 - Issue Tracking, Patch | |
| References | () https://github.com/FFmpeg/FFmpeg - Product | |
| References | () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vulkan_decode.c#L345 - Patch | |
| References | () https://www.vulncheck.com/advisories/ffmpeg-7.1-through-9.0.2-heap-out-of-bounds-write-via-vulkan-slice-buffer-sizing - Third Party Advisory |
09 Nov 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-09 19:17
Updated : 2026-11-30 16:22
NVD link : CVE-2026-125249
Mitre link : CVE-2026-125249
CVE.ORG link : CVE-2026-125249
JSON object : View
Products Affected
ffmpeg
- ffmpeg
CWE
CWE-190
Integer Overflow or Wraparound
