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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

24 Oct 2026, 15:10

Type Values Removed Values Added
Summary
  • (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.

28 Jul 2026, 17:00

Type Values Removed Values Added
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/92737390dc133daadce47dd7d2ec8ef3d9ebcbed - () https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/92737390dc133daadce47dd7d2ec8ef3d9ebcbed - Patch
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23665 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23665 - Issue Tracking, Patch
References () https://www.vulncheck.com/advisories/ffmpeg-stack-buffer-overflow-in-vulkan-hevc-decoder - () https://www.vulncheck.com/advisories/ffmpeg-stack-buffer-overflow-in-vulkan-hevc-decoder - Third Party Advisory
First Time Ffmpeg
Ffmpeg ffmpeg
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

22 Jul 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-22 17:16

Updated : 2026-10-24 15:10


NVD link : CVE-2026-64831

Mitre link : CVE-2026-64831

CVE.ORG link : CVE-2026-64831


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-121

Stack-based Buffer Overflow