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… (CVE-2026-64831)
FFmpeg versions 8.0 through 8.1.2 contain a stack buffer overflow vulnerability in the Vulkan HEVC hardware decoder. This flaw allows remote attackers to overwrite return addresses and adjacent stack frames by supplying a crafted HEVC/H.265 bitstream with a malicious vps_num_hrd_parameters value. The vulnerability exists in the vk_hevc_end_frame function and can lead to arbitrary code execution.
AI Analysis
Technical Summary
A stack buffer overflow vulnerability (CWE-121) exists in FFmpeg versions 8.0 through 8.1.2 within the Vulkan HEVC hardware decoder. Remote attackers can exploit this by providing a specially crafted HEVC/H.265 bitstream containing a vps_num_hrd_parameters value that exceeds HEVC_MAX_SUB_LAYERS, causing overflow of stack-allocated arrays in the vk_hevc_end_frame function. This overflow can overwrite return addresses and adjacent stack frames, potentially enabling arbitrary code execution. The vulnerability affects all supported container formats that use this decoder. There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows remote attackers to achieve arbitrary code execution on affected systems by exploiting a stack buffer overflow in the Vulkan HEVC hardware decoder of FFmpeg. This can compromise the confidentiality, integrity, and availability of the affected system. The vulnerability is exploitable without privileges or user interaction beyond supplying a crafted media file.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted HEVC/H.265 media streams using the Vulkan hardware decoder in FFmpeg versions 8.0 through 8.1.2.
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… (CVE-2026-64831)
Description
FFmpeg versions 8.0 through 8.1.2 contain a stack buffer overflow vulnerability in the Vulkan HEVC hardware decoder. This flaw allows remote attackers to overwrite return addresses and adjacent stack frames by supplying a crafted HEVC/H.265 bitstream with a malicious vps_num_hrd_parameters value. The vulnerability exists in the vk_hevc_end_frame function and can lead to arbitrary code execution.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A stack buffer overflow vulnerability (CWE-121) exists in FFmpeg versions 8.0 through 8.1.2 within the Vulkan HEVC hardware decoder. Remote attackers can exploit this by providing a specially crafted HEVC/H.265 bitstream containing a vps_num_hrd_parameters value that exceeds HEVC_MAX_SUB_LAYERS, causing overflow of stack-allocated arrays in the vk_hevc_end_frame function. This overflow can overwrite return addresses and adjacent stack frames, potentially enabling arbitrary code execution. The vulnerability affects all supported container formats that use this decoder. There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows remote attackers to achieve arbitrary code execution on affected systems by exploiting a stack buffer overflow in the Vulkan HEVC hardware decoder of FFmpeg. This can compromise the confidentiality, integrity, and availability of the affected system. The vulnerability is exploitable without privileges or user interaction beyond supplying a crafted media file.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted HEVC/H.265 media streams using the Vulkan hardware decoder in FFmpeg versions 8.0 through 8.1.2.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mqq7-j9mq-9jwq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64831"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a6151269c2644c7f8da630c
Added to database: 07/22/2026, 23:24:22 UTC
Last enriched: 07/22/2026, 23:57:39 UTC
Last updated: 07/22/2026, 23:57:39 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.