FFmpeg 7.1 through 9.0.2 Heap Out-of-Bounds Write via Vulkan Slice Buffer Sizing
- State
- Published
- Severity
- 7.3 High
- Published
- Nov 9, 2026
- Updated
- Nov 14, 2026
- Reserved
- Nov 9, 2026
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | 7.1 through 9.0.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.3 High | VulnCheck | |
| 3.1 | 7.0 High | VulnCheck |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136Issue Tracker
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vulkan_decode.c#L345Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg 7.1 through 9.0.2 Heap Out-of-Bounds Write via Vulkan Slice Buffer SizingThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.