Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft stream with >2 GiB slice data per frame
-
DeliveryDeliver media to victim using FFmpeg Vulkan hwaccel
-
ExploitInteger overflow miscalculates bitstream buffer size
-
Executionmemcpy writes past pooled host-mapped buffer
-
PersistHeap out-of-bounds write corrupts memory
-
ImpactPotential arbitrary code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target use FFmpeg's Vulkan hardware-accelerated decode path (the hwaccel codepath through ff_vk_decode_add_slice in libavcodec/vulkan_decode.c), which depends on Vulkan support being present and selected - not FFmpeg's default software decoders. The attacker must supply a crafted stream carrying more than 2 GiB of slice data for a single frame to trigger the integer overflow and the oversized memcpy. Limiting factors: the attack is local (AV:L) and needs the victim to process the malicious media (UI:P passive interaction), complexity is high with an additional attack requirement (AC:H/AT:P), the large >2 GiB payload is conspicuous and resource-intensive to deliver, and only FFmpeg versions 7.1 through 9.0.2 using Vulkan hwaccel are affected. |
| Impact | This is a genuine memory-corruption flaw but not a drop-everything emergency. The input CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P) describes a local, high-complexity attack that depends on an additional attack requirement (AT:P) and passive user interaction (UI:P) - i.e. a victim must process attacker-supplied media through FFmpeg's Vulkan hardware-accelerated decode path. The CWE-190 integer overflow leads to a heap out-of-bounds write (VC/VI/VA:H), which is why the score reaches 7.3. Countervailing signals keep real-world priority moderate: KEV status is NOT present in the input (no confirmed active exploitation), no EPSS score was supplied, and no public exploit or PoC reference is present - the only references are the vendor patch PR and the VulnCheck advisory. The vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency bug. One caveat to verify: triggering requires delivering over 2 GiB of slice data per frame, which is a large, conspicuous payload and raises practical exploitation difficulty beyond what the raw score conveys. EPSS and KEV are both absent, so widespread opportunistic exploitation cannot be confirmed or ruled out from the provided data. |
| Exploit ScenarioDerived | An attacker crafts a malicious video stream containing more than 2 GiB of slice data for a single frame and lures a victim into decoding it with an FFmpeg build (7.1-9.0.2) using Vulkan hardware-accelerated decoding. The integer overflow in ff_vk_decode_add_slice() undersizes the pooled host-mapped bitstream buffer, so the subsequent memcpy() writes past its end, corrupting heap memory. No public exploit or PoC is identified in the provided sources; achieving reliable code execution would require additional heap-layout work. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
A heap out-of-bounds write exists in FFmpeg's Vulkan hardware-accelerated decode path (ff_vk_decode_add_slice in libavcodec/vulkan_decode.c), where an integer overflow in the bitstream buffer size calculation lets a crafted stream with more than 2 GiB of slice data for a single frame drive a memcpy past a smaller pooled host-mapped buffer. Only FFmpeg builds from 7.1 through 9.0.2 that actually select the Vulkan hwaccel decode path are exposed; default software decoders are not on this codepath. The attack is local in vector terms and requires the victim to process a malicious media file (passive user interaction) with high complexity and an additional precondition, and no public exploit code has been identified at time of analysis, so this is a genuine memory-corruption flaw but not a drop-everything emergency.
RemediationAI
The fix is being handled upstream in FFmpeg pull request 25136 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136), so the status is an upstream fix available as a PR/commit with a released patched version not independently confirmed beyond the 7.1-9.0.2 affected range; track that PR and the FFmpeg repository (https://github.com/FFmpeg/FFmpeg) and move to the first release that contains the corrected slice-size arithmetic as soon as it ships. Until then, the actionable mitigation is to avoid the vulnerable codepath: build FFmpeg without Vulkan video decode support, or force software decoding (or a different hardware acceleration backend) for any media that is not fully trusted, and do not run the Vulkan hwaccel decode path when processing externally supplied files - the trade-off is loss of Vulkan-based GPU decode acceleration and higher CPU load. Because triggering requires a frame carrying more than 2 GiB of slice data, rejecting or pre-screening media whose frame payload sizes approach that magnitude before decoding provides an additional filter, at the cost of extra validation in the ingestion pipeline. No vendor statement indicating that updating is the only complete fix was provided, and no other workarounds are documented in the available references.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-190 integer overflow in FFmpeg's Vulkan video decoding integration. In the hwaccel design, decoded slice data is staged in host-mapped, pooled Vulkan buffers and copied with memcpy() into a bitstream buffer whose size is computed from the slice payload. When a frame carries more than 2 GiB of slice data, the size arithmetic overflows and the computed buffer is smaller than the data being copied, producing a heap out-of-bounds write through memcpy into the pooled host-mapped allocation. Reachability depends entirely on FFmpeg being built with Vulkan support and the Vulkan hwaccel decode path being selected at runtime - the affected function lives in libavcodec/vulkan_decode.c (referenced at line 345 of the n9.0.2 tree), so software-decoder deployments are unaffected. The CVSS 4.0 vector provided (AV:L/AC:H/AT:P/PR:N/UI:P) and the independent CVSS 3.1 assessment (AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) agree on local attack vector, high complexity, a present additional attack requirement, no privileges required, and high confidentiality, integrity and availability impact confined to the vulnerable component; the trigger mechanism beyond the oversized slice-data copy is not further described in the available sources.
Know when Ffmpeg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local because a crafted stream must be processed locally via Vulkan hwaccel (AV:L, UI:R), AC:H due to the >2 GiB trigger and heap-layout dependence, PR:N as no auth is needed; heap OOB write yields high C/I/A.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-125249 is a heap overflow vulnerability in FFmpeg's Vulkan hardware-accelerated video decoding path, affecting builds from version 7.1 through 9.0.2. Only systems actively using Vulkan for video decoding are exposed; exploitation requires processing a malicious media file, which could lead to memory corruption and potential code execution. While no public exploit code exists and the attack is local with high complexity, organizations relying on FFmpeg with Vulkan acceleration in media processing pipelines or user-facing applications should address this promptly to mitigate risk.
Disable Vulkan hardware-accelerated decoding in FFmpeg configurations by using software decoding or other non-Vulkan paths; restrict processing of untrusted media files to isolated, low-privilege environments; implement sandboxing or application-level containment for media processing services; monitor for anomalous behavior in FFmpeg processes; and enforce strict input validation and file-origin policies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120199
GHSA-qjxq-q85p-hv2c
NVD
CVE.org
EPSS
Exploit-DB