Stack-based Buffer Overflow Affecting ffmpeg-8.1-libswresample6 package, versions <8.1.3-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.85% (57th 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-MINIMOSLATEST-FFMPEG81LIBSWRESAMPLE6-20030102
  • published22 Sept 2026
  • disclosed22 Jul 2026

Introduced: 22 Jul 2026

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

How to fix?

Upgrade Minimos:latest ffmpeg-8.1-libswresample6 to version 8.1.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ffmpeg-8.1-libswresample6 package and not the ffmpeg-8.1-libswresample6 package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1