Skip to main content

FFmpeg EUVDEUVD-2026-133612

| CVE-2026-135737 HIGH
Out-of-bounds Write (CWE-787)
2026-11-24 VulnCheck GHSA-mm4j-8862-hxxv
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 high-bit-depth planar video exceeding max sample
  2. Delivery
    Victim processes file through tmidequalizer filter
  3. Exploit
    Unclamped sample indexes histogram array
  4. Execution
    Heap out-of-bounds write and read
  5. Impact
    Crash, 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).

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

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

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

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

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

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.

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 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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
core multimedia library embedded across countless apps, services and platforms
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
Medium
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.

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