CVE-2026-64831
JSON

8.7high

FFmpeg 8.0 - 8.1.2 Stack Buffer Overflow in Vulkan HEVC Decoder

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
FFmpeg FFmpegfrom 8.0 up to 8.1.2, 92737390dc133daadce47dd7d2ec8ef3d9ebcbedCVE List, NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-121

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones de FFmpeg 8.0 a 8.1.2 contienen una vulnerabilidad de desbordamiento de búfer de pila en el decodificador de hardware Vulkan HEVC que permite a atacantes remotos sobrescribir direcciones de retorno y marcos de pila adyacentes al proporcionar un flujo de bits HEVC/H.265 manipulado. Los atacantes pueden incrustar un valor malicioso de vps_num_hrd_parameters que excede HEVC_MAX_SUB_LAYERS en cualquier formato de contenedor compatible para desbordar arreglos asignados en la pila en la función vk_hevc_end_frame, logrando potencialmente la ejecución de código arbitrario.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64831 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-64831 changed 2026-10-24Public domain