Skip to main content

FFmpeg EUVDEUVD-2026-133615

| CVE-2026-135734 HIGH
Out-of-bounds Write (CWE-787)
2026-11-24 VulnCheck GHSA-cqcq-2765-gxmf
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft video with out-of-range high-bit-depth luma
  2. Delivery
    Deliver file to victim or transcoding pipeline
  3. Exploit
    FFmpeg runs deflicker filter on input
  4. Execution
    calc_avgy16() increments counters past histogram bounds
  5. Persist
    Heap out-of-bounds write corrupts memory
  6. Impact
    Crash or 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 FFmpeg be invoked with the deflicker video filter (vf_deflicker) - a non-default, explicitly-selected filter - against attacker-controlled media, and specifically requires high bit depth (depth>8) content whose luma sample values exceed the nominal depth, because the undersized histogram allocation (1 << depth before the fix) is overrun by calc_avgy16(). Limiting factors: the deflicker filter must actually be in the processing chain (UI:P / passive interaction via a user or automated pipeline that runs it), the input must be high-bit-depth with out-of-range luma, and the vector is characterized as local (AV:L). There is no privilege requirement (PR:N), and default FFmpeg usage that does not employ deflicker is not affected. The complete fix is upgrading to FFmpeg 9.1 (or applying commit fa10042f); the evidence lists no separate mitigation.

Impact

This is a genuine but conditional priority rather than a drop-everything emergency. The input CVSS 4.0 vector (CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) scores 8.5 and describes a local attack vector with low complexity, no privileges, but passive user interaction (UI:P) - meaning a user or automated pipeline must actually run FFmpeg's deflicker filter over attacker-supplied content for the flaw to trigger. There is no CISA KEV listing and no EPSS value supplied, so there is no evidence of active or widespread exploitation; the reporter is VulnCheck and the vuln.today decision label is 'this_week', which signals prompt patching this week rather than act_now/emergency. The impact triad (VC/VI/VA:H) reflects the 'crashes or possibly code execution' wording, but note the description hedges code execution as a possibility, not a demonstrated capability - the confirmed impact is heap corruption. The AV:L choice is reasonable for file-processing, though in practice FFmpeg often ingests remotely-sourced media, so the effective reach can be broader than 'local' implies; verify against your deployment (e.g. a transcoding service accepting uploads). Overall: a high-severity memory-corruption bug in an ubiquitous library, gated by the non-default deflicker filter and user/pipeline interaction, warranting timely patching but not indicative of mass exploitation.

Exploit ScenarioDerived

An attacker crafts a video file containing luma samples whose values exceed the nominal high bit depth, then gets a victim or an automated media pipeline to process it through FFmpeg's deflicker filter. When calc_avgy16() increments histogram counters for these out-of-range luma values, it writes past the undersized histogram allocation, corrupting heap memory and causing a crash or potentially code execution. No public exploit is identified at time of analysis, though the patch commit publicly reveals the root cause.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 24, 2026

A heap out-of-bounds write in FFmpeg's deflicker video filter (vf_deflicker) lets crafted high-bit-depth video corrupt heap memory, crashing the process or potentially enabling code execution under the privileges of the FFmpeg process. Versions before 9.1 are affected; the flaw only triggers when the non-default deflicker filter is explicitly placed in the processing chain and is fed attacker-controlled media whose luma samples exceed the nominal bit depth (depth greater than 8). The vector is local with no privilege requirement and passive user interaction, no public exploit has been identified at time of analysis, and the vendor has released a fix in FFmpeg 9.1 along with upstream commit fa10042f.

RemediationAI

Upgrade to FFmpeg 9.1, which contains the corrected histogram sizing, or backport upstream commit fa10042f748f20fad0cc0ee8fdcebe96b76603af (see https://github.com/FFmpeg/FFmpeg/commit/fa10042f748f20fad0cc0ee8fdcebe96b76603af and PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121) into older branches; the evidence lists no separate vendor mitigation, so patching is the complete fix. As a stopgap where upgrading is not immediately possible, remove the deflicker filter from pipelines that handle untrusted media (or transcode untrusted high-bit-depth input through a build or wrapper that does not enable vf_deflicker) - the trade-off is loss of deflicker functionality and the need to keep filter graphs constrained elsewhere, while any pipeline that still invokes deflicker on attacker-supplied content remains exposed. Because the assessed vector is local with passive interaction, prioritize hosts and automated media-processing services that routinely run user-submitted files through full filter chains; this is a this-week priority rather than an emergency, as exploitation is conditional on deflicker being in the chain.

Affected VersionsENISA

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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 affected component is libavfilter/vf_deflicker.c, which computes per-frame brightness by accumulating luma values into a histogram, allocated in config_input() with av_calloc(1 << s->depth, ...). For high-bit-depth pixel formats the 16-bit accumulation path calc_avgy16() indexes that histogram using raw sample values; when crafted content carries luma samples above the nominal depth (for example values above 1023 in a 10-bit stream), the index runs past the undersized allocation and counters are incremented out of bounds - a heap-based out-of-bounds write classified as CWE-787. The upstream commit changes the allocation to av_calloc(1 << (s->depth > 8 ? 16 : 8), ...), i.e. always reserving a full 16-bit histogram for depths above 8, which matches the root cause and confirms the defect is an allocation sizing error rather than a parsing flaw in the demuxers or decoders. The vulnerable line is visible in the n9.0.2 source tree at libavfilter/vf_deflicker.c#L193, and the CPE cpe:2.3:a:ffmpeg:ffmpeg covers all pre-9.1 releases; the trigger requires the deflicker filter to be selected, so default transcoding pipelines that do not use vf_deflicker are unaffected.

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 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

AV:L and UI:R because a user or pipeline must process a crafted file through the non-default deflicker filter; PR:N as no privileges are needed; heap OOB write supports C/I/A:H.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
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 before 9.1 contains a heap out-of-bounds write vulnerability in the deflicker filter that lets attackers corrupt heap memory via unclamped high bit depth luma samples. Attackers can supply crafted video whose luma values exceed the nominal depth, making calc_avgy16() increment counters past the histogram allocation, causing crashes or possibly code execution.

Executive ViewAI

Why It Matters

A high-severity heap corruption vulnerability in FFmpeg, a widely used multimedia framework, can be triggered when processing crafted video files through the optional deflicker filter. Exploitation requires local access and user interaction to open malicious media within an application using affected FFmpeg versions, potentially leading to code execution under the FFmpeg process's privileges. Leadership should prioritize patching because FFmpeg is embedded in numerous products and services, and unpatched systems could enable attackers to compromise media processing workflows and data.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
FFmpeg is the de facto multimedia library embedded across countless apps and services
Data Quality
6 sources
Confidence: High

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.2%
Patch available Yes
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

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