CVE-2026-64831: FFmpeg 8.0 - 8.1.2 Stack Buffer Overflow in Vulkan HEVC Decoder

Published Jul 22, 2026
·
Updated

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 vpsnumhrdparameters value exceeding HEVCMAXSUBLAYERS in any supported container format to overflow stack-allocated arrays in the vkhevcendframe function, potentially achieving arbitrary code execution.

Affected Software

2 affected components
FFmpeg FFmpeg>=8.0<=8.1.2
FFmpeg FFmpeg>=8.0<=8.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FFmpeg (Vulkan HEVC hardware decoder) to a version that resolves this vulnerability.

    Fixed in 8.1.2
  2. Compensating control

    If you cannot upgrade immediately, mitigate by disabling use of the Vulkan HEVC hardware decoder / Vulkan HEVC decoding path so crafted HEVC/H.265 bitstreams cannot reach vk_hevc_end_frame.

Event History

Jul 22, 2026
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64831?

The severity of CVE-2026-64831 is rated high with a CVSS score of 8.8.

2

How do I fix CVE-2026-64831?

To fix CVE-2026-64831, update FFmpeg to version 8.1.3 or later which addresses this vulnerability.

3

What type of vulnerability is CVE-2026-64831?

CVE-2026-64831 is a stack buffer overflow vulnerability in the Vulkan HEVC decoder.

4

What can attackers achieve with CVE-2026-64831?

Attackers exploiting CVE-2026-64831 can overwrite return addresses and adjacent stack frames by supplying a crafted HEVC/H.265 bitstream.

5

Which versions of FFmpeg are affected by CVE-2026-64831?

FFmpeg versions 8.0 through 8.1.2 are affected by CVE-2026-64831.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203