Stack-based Buffer Overflow Affecting ffmpeg package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-FFMPEG-18235319
  • published23 Jul 2026
  • disclosed22 Jul 2026
  • creditUnknown

Introduced: 22 Jul 2026

NewCVE-2026-64831  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

There is no fixed version for ffmpeg.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow due to the vk_hevc_end_frame function in libavcodec/vulkan_hevc.c. An attacker can overwrite stack data and potentially execute arbitrary code by supplying a crafted HEVC/H.265 bitstream with a vps_num_hrd_parameters value larger than HEVC_MAX_SUB_LAYERS. The vulnerable Vulkan HEVC decoder path processes the malicious VPS data during end-of-frame handling, where the oversized HRD parameter count drives writes past stack-allocated arrays. This can crash applications using FFmpeg or let remote input from a supported container format corrupt adjacent stack frames and return addresses.

CVSS Base Scores

version 4.0
version 3.1