Code execution via unchecked HEVC parameter count
Published Jul 22, 2026 · Updated Jul 22, 2026
Stack buffer overflow in FFmpeg 8.0 through 8.1.2 allows remote attackers to execute code via a crafted HEVC/H.265 bitstream. In vk_hevc_end_frame, an unchecked vps_num_hrd_parameters value above HEVC_MAX_SUB_LAYERS overruns stack-allocated Vulkan HEVC parameter arrays. Exploitation requires a Vulkan-enabled build to decode attacker-supplied media and can corrupt return addresses and adjacent stack frames.
Summary
What happened
Stack buffer overflow in FFmpeg 8.0 through 8.1.2 allows remote attackers to execute code via a crafted HEVC/H.265 bitstream. In vk_hevc_end_frame, an unchecked vps_num_hrd_parameters value above HEVC_MAX_SUB_LAYERS overruns stack-allocated Vulkan HEVC parameter arrays. Exploitation requires a Vulkan-enabled build to decode attacker-supplied media and can corrupt return addresses and adjacent stack frames.
The record
- CVE
- CVE-2026-64831
- Published
- Jul 22, 2026
- Updated
- Jul 22, 2026
- Vendor
- FFmpeg
- Product
- FFmpeg
- Classifications
- CWE-121, T1204.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 22, 2026CVE publishedPublication date reported by the CVE source.
- Jul 22, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.0 <=8.1.2
- Affected versionversion=92737390dc133daadce47dd7d2ec8ef3d9ebcbed
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo