CVE-2026-125249

Discovered by AISLEPUBLISHEDCWE-190

Description

FFmpeg 7.1 through 9.0.2 contains an integer overflow in ff_vk_decode_add_slice() in libavcodec/vulkan_decode.c that miscalculates the Vulkan hwaccel bitstream buffer size. Attackers can supply a crafted stream with over 2 GiB of slice data per frame, causing memcpy() to write past a smaller pooled host-mapped buffer.

CVSS Base Scores

CVSS v4.07.3

CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS v3.1
7.0

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersionStatus
FFmpegFFmpeg7.1affected

Credits

  • Joshua Rogers (AISLE Research)(finder)
  • Michael Niedermayer(remediation developer)

References