Skip to main content

FFmpeg EUVDEUVD-2026-120199

| CVE-2026-125249 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-11-09 disclosure@vulncheck.com GHSA-qjxq-q85p-hv2c
7.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft stream with >2 GiB slice data per frame
  2. Delivery
    Deliver media to victim using FFmpeg Vulkan hwaccel
  3. Exploit
    Integer overflow miscalculates bitstream buffer size
  4. Execution
    memcpy writes past pooled host-mapped buffer
  5. Persist
    Heap out-of-bounds write corrupts memory
  6. Impact
    Potential 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FFmpeg 7.1 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

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

Vendor (vulncheck) PRIMARY 7.3 HIGH
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
vuln.today AI 7.0 HIGH

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.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.0 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
FFmpeg is the de facto media library embedded across countless applications and platforms
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

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

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

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

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy