Skip to main content

FFmpeg CVE-2026-125202

| EUVDEUVD-2026-120291 HIGH
Out-of-bounds Write (CWE-787)
2026-11-09 disclosure@vulncheck.com GHSA-j9qm-j248-h26f
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 file to victim
  2. Exploit
    Application decodes it via VAAPI acceleration
  3. Execution
    Unbounded PPS tile count overflows fixed array
  4. Impact
    Controlled 16-bit heap write corrupts memory, possible 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 VAAPI hardware acceleration (the vulnerable vaapi_hevc_start_frame path); software-only decoding is not affected. The attacker must supply a crafted HEVC bitstream with a large picture and many tiles so the PPS tile count exceeds the fixed-size hwaccel arrays, and the victim must process that input locally (AV:L) with passive user interaction (UI:P), i.e. open or decode the malicious media. Affected scope is FFmpeg through 9.0.2. Limiting factors: no remote/network vector, high attack complexity with an explicit attack requirement (AC:H/AT:P), dependence on the non-default VAAPI acceleration configuration, and the need for victim-side processing - the precise reason for the high complexity/attack requirement beyond the tile-count condition is not described in the available sources.

Impact

Signals point to a moderate, conditional risk rather than a drop-everything emergency. The CVSS 4.0 vector is AV:L/AC:H/AT:P/PR:N/UI:P (score 7.3): exploitation is LOCAL, carries high attack complexity plus an explicit attack requirement, and needs passive user interaction - so despite the high VC:H/VI:H/VA:H impact, the exploitability side is constrained. There is no CISA KEV listing and no EPSS score in the provided data, so active-exploitation and statistical-exploitation-probability signals are both absent (not low - simply missing). No confirmed working exploit is present; the references are a fix pull request (FFmpeg PR 25136), the project repo, the vulnerable source line, and a VulnCheck advisory - none is verified exploit code. The vuln.today decision label is 'this_week', consistent with a serious memory-corruption bug (CWE-787 controlled 16-bit out-of-bounds heap write) that is nonetheless gated behind local access, user interaction, and a specific decode path. Net: a genuine, patch-worthy memory-corruption flaw, but the local vector, high complexity, required user interaction, and VAAPI-specific trigger make it a scheduled-remediation item rather than mass-exploitable. Key caveat: exposure is limited to applications that decode HEVC using VAAPI hardware acceleration - software-only decoding is not on this code path, which should be confirmed per deployment.

Exploit ScenarioDerived

An attacker crafts a malicious HEVC bitstream containing a large picture with many tiles and delivers it to a victim who decodes media through an FFmpeg/libavcodec-based application configured for VAAPI hardware acceleration. When vaapi_hevc_start_frame() copies the unbounded PPS tile counts into fixed-size hwaccel arrays, controlled 16-bit values are written past the heap allocation, corrupting adjacent memory and potentially leading to code execution in the decoding process. No public exploit identified at time of analysis; only a fix pull request and 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 VAAPI-accelerated HEVC decoder (through 9.0.2) allows an attacker who supplies a crafted HEVC bitstream - one with a large picture and an excessive number of PPS-signalled tiles - to write controlled 16-bit values past heap-allocated hwaccel arrays. Only applications that decode HEVC through VAAPI hardware acceleration reach the vulnerable vaapi_hevc_start_frame() path; software-only decoding is unaffected, and the victim must process the malicious media locally (CVSS:3.1/AV:L/AC:H/PR:N/UI:R), with no privileges required but passive interaction needed to open or decode the file. No confirmed public exploit code was identified at time of analysis, and no CISA KEV listing applies; combined with the dependency on a non-default hardware-acceleration configuration and the explicit high attack complexity/attack requirement, the signals point to a moderate, conditional risk rather than a drop-everything emergency, with remediation scheduled this week.

RemediationAI

Apply the upstream fix tracked in FFmpeg pull request 25136 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136), which addresses the unbounded PPS tile-count copy in vaapi_hevc_start_frame(); this is an upstream fix available as a PR/commit and a released patched FFmpeg version with a confirmed version number is not identified in the available data, so confirm the tag that contains the commit before rollout. Until a patched build is deployed, the actionable compensating control is to disable VAAPI hardware acceleration for HEVC decoding - force software HEVC decoding in the affected application or decoder pipeline (for example by overriding the hwaccel selection for HEVC) so the vulnerable vaapi_hevc_start_frame() path is never entered, at the cost of higher CPU utilisation and loss of GPU offload on affected media workloads. Where software fallback for HEVC is not operationally viable, avoid feeding untrusted or externally sourced HEVC content into VAAPI-enabled decode pipelines. Scheduling aligns with the this_week priority label rather than emergency handling, given the local attack vector, non-default acceleration prerequisite and absence of confirmed exploitation.

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

FFmpeg's libavcodec/vaapi_hevc.c implements HEVC decoding backed by the Video Acceleration API (VAAPI), where compressed bitstreams are parsed on the CPU and the resulting slice/parameter-set metadata is handed to the GPU driver through hwaccel buffers. In vaapi_hevc_start_frame() (line 221 of the n9.0.2 source referenced by the advisory), values parsed from the Picture Parameter Set - specifically the tile count for an oversized picture - are copied into fixed-size arrays without a bounds check, so a PPS advertising more tiles than the array can hold causes a heap-based out-of-bounds write (CWE-787) of attacker-influenced 16-bit values beyond the allocated hwaccel data. The result is memory corruption in the decoding process that can be shaped toward code execution or at minimum a crash, but only along the VAAPI hardware-acceleration code path; the trigger beyond the tile-count condition, and the precise reason for the assessed AC:H/AT:P ratings, are not described in the available sources. Exploitation requires the target to be built with VAAPI support, to actually select hardware HEVC decoding, and to be fed the crafted bitstream.

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 crafted-input decode gives AV:L; VAAPI config plus specific large-tile bitstream conditions give AC:H; victim must open the file so UI:R; no auth PR:N; controlled heap overflow 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 through 9.0.2 contains a heap buffer overflow vulnerability in vaapi_hevc_start_frame() in libavcodec/vaapi_hevc.c that copies unbounded PPS tile counts into fixed-size arrays. Attackers can supply a crafted HEVC bitstream with a large picture and many tiles to write controlled 16-bit values past heap-allocated hwaccel data, corrupting memory in applications decoding with VAAPI.

Executive ViewAI

Why It Matters

A heap buffer overflow in FFmpeg's VAAPI-accelerated HEVC decoder (through version 9.0.2) could allow an attacker to write controlled data to memory when a malicious HEVC file is opened on systems using VAAPI hardware acceleration. This affects only applications that decode HEVC via VAAPI, so impact is limited to specific hardware-accelerated environments; however, a successful exploit could lead to code execution or crashes, posing a risk to affected users and data integrity. Leadership should prioritize remediation for critical systems, as the vulnerability is rated HIGH severity despite conditional exploitation requirements.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Disable VAAPI hardware acceleration for HEVC decoding or restrict HEVC file processing to trusted sources; enforce application allowlisting and user training to avoid opening untrusted media.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec ubiquitous; vulnerable VAAPI HEVC path 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