Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft video with out-of-range high-bit-depth luma
-
DeliveryDeliver file to victim or transcoding pipeline
-
ExploitFFmpeg runs deflicker filter on input
-
Executioncalc_avgy16() increments counters past histogram bounds
-
PersistHeap out-of-bounds write corrupts memory
-
ImpactCrash 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch.
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.
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.
Related Vulnerabilities in FFmpeg Memory Corruption and NULL Dereference Flaws
View all 34FFmpeg 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-133615
GHSA-cqcq-2765-gxmf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB