Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft high-bit-depth planar video exceeding max sample
-
DeliveryVictim processes file through tmidequalizer filter
-
ExploitUnclamped sample indexes histogram array
-
ExecutionHeap out-of-bounds write and read
-
ImpactCrash, heap corruption and memory disclosure
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 FFmpeg filter graph actually include the tmidequalizer video filter (not used in default transcodes) AND that the attacker supply planar 9-, 10-, 12- or 14-bit video containing sample values that exceed the nominal maximum for that bit depth, so compute_histogram16()/apply_contrast_change16() index the histogram and change arrays out of bounds. Limiting factors consistent with the CVSS 4.0 vector: the attack is local (AV:L) - the crafted media must be processed on the target host rather than delivered remotely - and passive user interaction is required (UI:P), i.e. a user or automated job must process the malicious input. No authentication is needed (PR:N). These conditions make exploitation dependent on a specific, non-default filter being in use against attacker-controlled high-bit-depth input. |
| Impact | The CVSS 4.0 signals (score 8.5) describe high technical impact - VC:H/VI:H/VA:H reflect the heap out-of-bounds write/read that can corrupt memory and leak heap contents - but the exploitability metrics meaningfully constrain real-world risk: AV:L means the attack is local (the malicious media must be processed on the target host, not delivered over a network), and UI:P means a user/operator must process the attacker-supplied input. PR:N confirms no authentication is needed once a crafted file reaches the processing pipeline. The vuln.today decision label is 'this_week' (not act_now/emergency), the CVE is NOT listed in CISA KEV, and no EPSS probability was supplied, so there is no evidence of active or widespread exploitation. A further real-world limiter the raw score hides: the bug lives specifically in the tmidequalizer filter, which is not part of a default FFmpeg transcode and must be explicitly placed in the filter graph. Net assessment: a genuine, patch-worthy memory-corruption bug in a ubiquitous library, but a this-week priority rather than an emergency, because exploitation requires local processing of attacker-controlled high-bit-depth video through a non-default filter rather than remote unauthenticated hits against default configurations. |
| Exploit ScenarioDerived | An attacker crafts a planar 9/10/12/14-bit video whose sample values exceed the nominal maximum and gets a victim to run it through an FFmpeg pipeline that includes the tmidequalizer filter (e.g., a media-processing service, transcoding job, or desktop tool). Because compute_histogram16() and apply_contrast_change16() index the histogram/change arrays with unclamped sample values, processing the file writes and reads out of bounds, crashing the application, corrupting the heap, or disclosing heap memory. No public exploit identified at time of analysis; the trigger mechanism is confirmed by the vendor patch, which clamps the index with FFMIN(src[x], hsize - 1). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Heap out-of-bounds writes and reads in FFmpeg's tmidequalizer filter before 9.1 allow unauthenticated local attackers to crash the process, corrupt heap memory, and leak heap contents by getting crafted planar 9-, 10-, 12-, or 14-bit video processed with that filter enabled. The filter graph must include tmidequalizer and the samples must exceed the nominal maximum for the declared bit depth; passive user interaction is required because a user or automated job must handle the malicious media. No public exploit code or CISA KEV entry was identified at time of analysis, and the vendor has released a fix in FFmpeg 9.1.
RemediationAI
Upgrade to FFmpeg 9.1 or later; the vendor-released patch and upstream commit 1e1e424bd8d7a50a8213da1e95a92f524e9b801d (PR 26121) add the missing sample clamping. If upgrading cannot be done immediately, remove or disable the tmidequalizer filter for untrusted media processing and prevent untrusted planar 9-, 10-, 12-, or 14-bit inputs from reaching filter graphs that use it; this reduces exposure but sacrifices that filter's functionality and does not fix other FFmpeg code paths. Restrict which users or automated jobs can supply filter graphs or media to production transcoders, since exploitation requires the crafted input to be processed locally with tmidequalizer in the graph. Vendor advisory: https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-write-via-tmidequalizer-filter.
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
FFmpeg's tmidequalizer filter builds histograms and contrast-change tables for tone mapping. In its high-bit-depth processing paths, compute_histogram16() and apply_contrast_change16() use input sample values as array indexes. Planar 9-, 10-, 12-, or 14-bit video can carry sample values above the nominal maximum for the declared depth; because those values are not clamped, histogram and change arrays are indexed out of bounds. This is CWE-787 (out-of-bounds write), with the same unclamped indexing also producing out-of-bounds reads that can disclose heap contents. The affected CPE is ffmpeg:ffmpeg wildcard; the upstream fix commit 1e1e424bd8d7a50a8213da1e95a92f524e9b801d adds histogram-size plumbing and FFMIN(src[x], hsize - 1) clamping to the indexed lookups. Exposure is limited to filter graphs that actually instantiate tmidequalizer; default transcodes without that filter do not exercise this code path.
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
Local processing of a crafted file (AV:L) with no auth (PR:N) but requiring a victim to process it (UI:R); heap OOB write/read yields full C/I/A impact with unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg before 9.1 contains a heap out-of-bounds write and read vulnerability in the tmidequalizer filter that allows attackers to corrupt memory by supplying high bit depth samples exceeding the nominal maximum. Attackers can craft planar 9, 10, 12 or 14 bit video so compute_histogram16() and apply_contrast_change16() index unclamped samples, crashing applications, corrupting the heap, and leaking heap contents.
Executive ViewAI
A heap memory vulnerability in FFmpeg's tmidequalizer filter (before version 9.1) can cause crashes, heap corruption, and information leaks when specially crafted planar high-bit-depth video is processed with that filter enabled. Any team relying on FFmpeg for media processing-including internal video workflows, transcoding pipelines, and content ingestion-is affected, creating risks of service disruption and potential data exposure. Leadership should prioritize remediation to protect operational continuity and sensitive 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.
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-133612
GHSA-mm4j-8862-hxxv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB