CVE-2026-64831
Received Received - Intake

Vulkan HEVC Decoder Stack Buffer Overflow in FFmpeg

Vulnerability report for CVE-2026-64831, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-22

Last updated on: 2026-07-22

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-22
Last Modified
2026-07-22
Generated
2026-07-22
AI Q&A
2026-07-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ffmpeg ffmpeg From 8.0 (inc) to 8.1.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stack buffer overflow in FFmpeg versions 8.0 to 8.1.2 affecting the Vulkan HEVC hardware decoder. Attackers can exploit it by sending a crafted HEVC/H.265 video stream with a malicious vps_num_hrd_parameters value that exceeds the allowed limit. This causes a stack overflow in the vk_hevc_end_frame function, potentially allowing arbitrary code execution.

Detection Guidance

Detecting this vulnerability requires checking the FFmpeg version in use. Run 'ffmpeg -version' to see if your version falls within 8.0 to 8.1.2. Additionally, monitor network traffic for unusual HEVC/H.265 bitstream patterns or excessive vps_num_hrd_parameters values.

Impact Analysis

If you process untrusted video files with vulnerable FFmpeg versions, attackers could execute arbitrary code on your system. This could lead to data theft, system compromise, or further network infiltration. The risk is higher if FFmpeg is exposed to untrusted networks or processes user-uploaded media.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's integrity and confidentiality requirements or HIPAA's safeguards for protected health information. Organizations using vulnerable FFmpeg versions may face compliance violations if exploited.

Mitigation Strategies

Immediately update FFmpeg to a version beyond 8.1.2. If updating is not possible, disable the Vulkan HEVC hardware decoder by removing or renaming the relevant library files or disabling hardware acceleration in FFmpeg configurations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64831. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart