Buffer overflow in Ffmpeg
CVE-2026-64831
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.
Vulnerability class: Buffer Overflow
EPSS: 0.009 (55.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Ffmpeg — versions 8.0, 92737390dc133daadce47dd7d2ec8ef3d9ebcbed
Weakness classification (CWE)
References
- disclosure@vulncheck.com (issue-tracking, Patch, Issue Tracking)
- disclosure@vulncheck.com (Patch, patch)
- disclosure@vulncheck.com (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-64831?
- CVE-2026-64831 is a high-severity vulnerability in Ffmpeg, classified under Stack-based Buffer Overflow. CVSS score: 8.8/10. Published 2026-07-22.
- How severe is CVE-2026-64831?
- High severity. CVSS v3 base score is 8.8 out of 10.