Skip to main content

FFmpeg CVE-2026-125219

| EUVDEUVD-2026-120308 HIGH
Out-of-bounds Write (CWE-787)
2026-11-09 disclosure@vulncheck.com GHSA-q3xq-h42f-cj6f
7.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted HEVC bitstream
  2. Delivery
    Victim decodes file via VDPAU hwaccel
  3. Exploit
    Unbounded PPS tile counts copied into fixed array
  4. Execution
    Controlled 16-bit out-of-bounds heap write
  5. Impact
    Memory corruption, potential code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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 application decode HEVC using FFmpeg's VDPAU hardware-acceleration path (NVIDIA/VDPAU-backed decoding, typically on Linux) - this is a non-default, opt-in configuration rather than FFmpeg's standard software decoder. The attacker must supply a crafted HEVC bitstream whose PPS declares excessive tile columns or rows, and a user or service must actually decode that file (UI:P / passive user interaction). Limiting factors: local attack vector (the malicious media must reach the decoder), the VDPAU-specific requirement means software-only FFmpeg builds are not affected through this path, and the AC:H/AT:P conditions indicate the trigger depends on the specific VDPAU configuration and crafted tile values; authentication is not required (PR:N). The trigger mechanism beyond the unbounded tile-count copy is described in the source; no race or timing condition is stated in the available sources.

Impact

Signals are mixed and point to a real-but-bounded priority rather than an emergency. The supplied CVSS 4.0 vector is AV:L/AC:H/AT:P/PR:N/UI:P with high confidentiality, integrity and availability impact (VC:H/VI:H/VA:H, score 7.3, CWE-787 out-of-bounds write) - i.e. a local vector that additionally carries an explicit attack requirement (AT:P) and passive user interaction (UI:P), so it is not a drive-by remote flaw despite the high impact. No EPSS score and no CISA KEV entry are present in the input, so there is no quantitative exploitation-probability signal and no confirmation of active exploitation. The references include an FFmpeg pull request (pulls/25136) and a VulnCheck advisory but no proof-of-concept or working-exploit reference, so exploitation is not demonstrated. The vuln.today decision label is 'this_week', consistent with a serious memory-corruption bug that should be patched promptly but is not flagged act_now/emergency. Net: this is a genuine, remediate-soon issue whose real-world risk is constrained by the local vector, the AC:H/AT:P conditions, and the requirement that the target application actually use VDPAU hardware-accelerated HEVC decoding - not a high-CVSS-but-trivially-exploitable network bug. Missing data to note explicitly: EPSS is absent, KEV status is absent (treated as not listed), and no fixed release version is stated in the input - only a pull request that appears to be the fix.

Exploit ScenarioDerived

An attacker crafts an HEVC bitstream whose picture parameter set declares an excessive number of tile columns or rows, then delivers it as a media file or stream to a victim running an FFmpeg-based application configured for VDPAU hardware decoding. When the victim opens or decodes the file, vdpau_hevc_start_frame() copies the unbounded tile counts into fixed-size VDPAU arrays, writing controlled 16-bit values past the heap-allocated hwaccel buffer and corrupting adjacent memory, which can lead to a crash or potentially code execution. No public exploit identified at time of analysis; only a fix pull request and a vendor advisory are referenced.

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

Heap buffer overflow in FFmpeg's VDPAU-accelerated HEVC decoder (vdpau_hevc_start_frame() in libavcodec/vdpau_hevc.c, through 9.0.2) allows a crafted HEVC bitstream that declares excessive PPS tile columns or rows to write controlled 16-bit values past heap-allocated hwaccel data, corrupting memory and potentially enabling code execution in the context of the decoding process. Only applications that decode HEVC through FFmpeg's VDPAU hardware-acceleration path are exposed, which is an opt-in, non-default configuration typically used with NVIDIA-backed decoding on Linux; software-only FFmpeg builds are not affected through this code path. The attack is local in vector terms with the victim needing to decode the malicious media file, no public exploit code was identified at the time of analysis, and the current priority is this_week rather than emergency action.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Follow FFmpeg pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136, rebuild FFmpeg with that change, and track the project repository (https://github.com/FFmpeg/FFmpeg) for the first tagged release carrying it, since 9.0.2 and earlier contain the vulnerable code. Until a patched build is deployed, the most direct control is to avoid the affected code path entirely: force software HEVC decoding or select a different hwaccel backend instead of VDPAU for untrusted media, accepting higher CPU usage and losing VDPAU-specific output interop as the trade-off, and restrict ingestion of untrusted HEVC files into pipelines that must keep VDPAU enabled. No vendor-published workaround beyond the upstream fix is identified in the available references.

Affected VersionsENISA

FFmpeg 0 ≤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

VDPAU (Video Decode and Presentation API for Unix) is NVIDIA's hardware video decode/output API; FFmpeg's hwaccel layer in libavcodec/vdpau_hevc.c parses the HEVC picture parameter set (PPS) and translates its tile geometry into fixed-size VDPAU decoder structures during vdpau_hevc_start_frame(). The root cause is CWE-787 (out-of-bounds write): the PPS-derived tile column and row counts are copied into fixed-size arrays without validating them against the array bounds, so a bitstream with oversized tile counts causes an out-of-bounds write of attacker-influenced 16-bit values into adjacent heap memory holding hwaccel data. Because the flaw lives in the hardware-acceleration glue rather than the core HEVC parser, exposure is confined to builds and deployments that actually route HEVC decoding through VDPAU; the exact runtime trigger beyond the unbounded tile-count copy is not described in the available sources, and the assessed vector (AC:H/AT:P) reflects dependence on the specific VDPAU configuration and crafted tile values rather than any stated race or timing condition.

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 file must be decoded by a VDPAU-enabled app (AV:L, UI:R), AC:H for the VDPAU-specific opt-in path and crafted tile trigger, PR:N, with controlled heap write yielding 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 through 9.0.2 contains a heap buffer overflow vulnerability in vdpau_hevc_start_frame() in libavcodec/vdpau_hevc.c that copies unbounded PPS tile counts into fixed-size VDPAU arrays. Attackers can supply crafted HEVC bitstreams with excessive tile columns or rows to write controlled 16-bit values past heap-allocated hwaccel data, corrupting memory in applications using VDPAU decoding.

Executive ViewAI

Why It Matters

A heap buffer overflow vulnerability (CVE-2026-125219) in FFmpeg's VDPAU-accelerated HEVC decoder could allow a crafted media file to corrupt memory and potentially execute code, but only in non-default NVIDIA-based decoding environments. Leadership should care because this affects media processing pipelines that handle untrusted content, although no active exploitation has been observed.

Business Impact: Medium
Compensating Controls

Disable VDPAU-accelerated HEVC decoding and use software-only decoding; process untrusted media in isolated environments with least privilege; enforce media file validation before decoding.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
FFmpeg libavcodec is near-ubiquitous, but the VDPAU HEVC path is opt-in and narrows real exposure
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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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