CVE-2026-125249
7.3high
FFmpeg 7.1 through 9.0.2 Heap Out-of-Bounds Write via Vulkan Slice Buffer Sizing
- Severity
- 7.3high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FFmpeg FFmpeg | from 7.1 up to 9.0.2 | CVE List, NVD |
All scores
| VulnCheck | 7.3high CVSS:4.0 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136 | issue-tracking, patch | |
| https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vulkan_decode.c#L345 | patch, technical-description | |
| https://github.com/FFmpeg/FFmpeg | product | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-125249 changed 2026-11-14 | CVE Terms of Use |
| NVD | CVE-2026-125249 changed 2026-11-30 | Public domain |