CVE-2026-64831 FFmpeg 8.0 - 8.1.2 Stack Buffer Overflow in Vulkan HEVC Decoder
Remote attackers can achieve arbitrary code execution by supplying a crafted HEVC bitstream to the Vulkan HEVC decoder in FFmpeg.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-64831?
CVE-2026-64831 is a high-severity memory corruption vulnerability in Ffmpeg Ffmpeg, published on 22 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-121
Which versions are affected by CVE-2026-64831?
It affects 1 product.
Products include Ffmpeg Ffmpeg.
How do I fix CVE-2026-64831?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-64831 being exploited?
There is no known exploitation of CVE-2026-64831 in the wild and no public exploit code.
Other vulnerabilities in Ffmpeg Ffmpeg
Sources
Also known as DEBIAN-CVE-2026-64831, GHSA-mqq7-j9mq-9jwq, JLSEC-2026-1173, MINI-x2fx-4qrm-m8j3, UBUNTU-CVE-2026-64831.