CVE Catalog

CVE-2026-125249

HighCVSS 7.0
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Processing a malicious stream can cause memory corruption, application crash, or potential code execution.

Recommendation

Update FFmpeg to a version later than 9.0.2 and avoid decoding untrusted streams with Vulkan acceleration until the fix is applied.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS