FFmpeg: Integer overflow in Vulkan encoder (CVE-2026-125248)
An integer overflow in the FFmpeg Vulkan encoder (libavcodec/ffv1enc_vulkan.c) allows remote attackers to cause memory corruption or application crashes through specially crafted high-resolution image or video files.
CVE search metadata
CVE search record: CVE-2026-125248. Severity: high. CVSS: 7.0. KEV: no. Product: FFmpeg (9.0 through 9.0.2). Brief: FFmpeg: Integer overflow in Vulkan encoder (CVE-2026-125248). Brief link: https://feed.craftedsignal.io/briefs/2026-11-ffmpeg-overflow/
Triage facts
Revision 1- Applicability
- FFmpeg (9.0 through 9.0.2)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 9, 19:56 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
FFmpeg versions 9.0 through 9.0.2 contain an integer overflow vulnerability within libavcodec/ffv1enc_vulkan.c. The vulnerability manifests when the software attempts to allocate memory for the float remap GPU buffer. Supplying a large GBRPF32 or GBRAPF32 image or video for transcoding into the FFV1 format via the Vulkan encoder results in an undersized buffer allocation. This leads to an out-of-bounds GPU memory write, which can result in application crashes or memory corruption.
Impact
Successful exploitation may result in a denial of service (application crash) or potential memory corruption on the host system running the transcoding process.
Recommendation
- Inventory systems and applications utilizing FFmpeg libraries to identify exposure to versions 9.0 through 9.0.2.
- Update FFmpeg to a patched version once released by the vendor.
- Restrict the use of the Vulkan encoder in untrusted transcoding pipelines until the software is updated.
Immediate actions
Identify software dependencies using FFmpeg 9.x within the environment
Threat Hunt
Monitor for application crashes or logs indicating GPU driver instability related to transcoding processes
Data: Application error logs, System event logs for GPU/Driver crashes
Mitigations
Upgrade FFmpeg to a version outside of the affected 9.0-9.0.2 range
CVE-2026-125248