FFmpeg versions 8.0 through 8.1.2 contains a stack buffer overflow vulnerability in the Vulkan HEVC hardware decoder that allows remote attackers to overwrite return addresses and adjacent stack frames by supplying a crafted HEVC/H.265 bitstream. Attackers can embed a malicious vps_num_hrd_parameters value exceeding HEVC_MAX_SUB_LAYERS in any supported container format to overflow stack-allocated arrays in the vk_hevc_end_frame function, potentially achieving arbitrary code execution.
References
| Link | Resource |
|---|---|
| https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/92737390dc133daadce47dd7d2ec8ef3d9ebcbed | Patch |
| https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23665 | Issue Tracking Patch |
| https://www.vulncheck.com/advisories/ffmpeg-stack-buffer-overflow-in-vulkan-hevc-decoder | Third Party Advisory |
Configurations
History
28 Jul 2026, 17:00
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* | |
| First Time |
Ffmpeg
Ffmpeg ffmpeg |
|
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/92737390dc133daadce47dd7d2ec8ef3d9ebcbed - Patch | |
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23665 - Issue Tracking, Patch | |
| References | () https://www.vulncheck.com/advisories/ffmpeg-stack-buffer-overflow-in-vulkan-hevc-decoder - Third Party Advisory |
22 Jul 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-22 17:16
Updated : 2026-07-28 17:00
NVD link : CVE-2026-64831
Mitre link : CVE-2026-64831
CVE.ORG link : CVE-2026-64831
JSON object : View
Products Affected
ffmpeg
- ffmpeg
CWE
CWE-121
Stack-based Buffer Overflow
