CVE-2026-125249: FFmpeg 7.1 through 9.0.2 Heap Out-of-Bounds Write via Vulkan Slice Buffer Sizing

Published Nov 9, 2026
·
Updated

FFmpeg 7.1 through 9.0.2 contains an integer overflow in ffvkdecodeaddslice() in libavcodec/vulkandecode.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.

Affected Software

14 affected componentsFixes available
FFmpeg FFmpeg>=7.1<=9.0.2
debian/ffmpeg*
debian/ffmpeg*
debian/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
FFmpeg FFmpeg>=7.1<=9.0.2
debian/ffmpeg<=7:5.1.9-0+deb12u1, <=7:7.1.5-0+deb13u1, <=7:9.0.2-6, <=7:9.1-3
alpine/ffmpeg>=7.1<8.1.4-r0
8.1.4-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/ffmpeg to a version that resolves this vulnerability.

    Fixed in 8.1.4-r0

Event History

Nov 9, 2026
CVE Published
via MITRE·07:11 PM
Data Sourced
via MITRE·07:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness
Event
via NVD·07:17 PM
Nov 12, 2026
Updated
via OSV·05:25 PM
Severity
Nov 15, 2026
Data Sourced
via OSV·10:00 PM
Affected Software
Nov 30, 2026
Data Sourced
via NVD·04:22 PM
RemedyAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects FFmpeg versions 7.1 through 9.0.2 when processing streams through the Vulkan hardware-accelerated decode path. The vulnerable code is in libavcodec/vulkan_decode.c.

2

What must an attacker provide to trigger the vulnerability?

An attacker must cause FFmpeg to process a crafted stream containing more than 2 GiB of slice data in a frame. The malformed slice sizing triggers an integer overflow and can make memcpy() write beyond the allocated pooled host-mapped buffer.

3

Is interaction required for exploitation?

The supplied vector indicates local attack access and user interaction are required. No privileges are required according to the vector.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203