Skip to main content

FFmpeg EUVDEUVD-2026-133611

| CVE-2026-135738 HIGH
Out-of-bounds Write (CWE-787)
2026-11-24 VulnCheck GHSA-vc3g-9689-99g4
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 malicious 9-14 bit YUV video
  2. Delivery
    Deliver file to FFmpeg signalstats user
  3. Exploit
    Unclamped samples index past histogram ends
  4. Execution
    Heap out-of-bounds write corrupts memory
  5. 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 signalstats video filter (libavfilter/vf_signalstats.c) in the processing chain - this is an optional, non-default filter, which is the primary limiting factor - AND that the attacker-supplied input be a planar YUV stream with high bit depth (9 to 14 bits) carrying unclamped samples or saturation values that exceed the nominal maximum, so they index past the histy/histu/histv/histsat histogram buffers. Further limiting factors from the CVSS vector: the attack vector is local (AV:L) and passive user interaction is required (UI:P) - a victim or automated job must deliberately process the crafted file through that filter; there is no remote, unauthenticated path against a default configuration. Authentication requirements not applicable in the usual sense (PR:N on the FFmpeg process), but the practical gate is the non-default filter configuration plus required file processing.

Impact

Severity signals are moderate-to-high but real-world priority is tempered by exploitation preconditions. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, score 8.5) describes a local attack vector requiring passive user interaction - i.e., a victim or automated pipeline must process an attacker-supplied file - not a remotely reachable service, so this is not a wormable network bug despite the high score. No EPSS probability was supplied and the CVE is not on CISA KEV, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency). The source-code diff confirms the mechanism: histogram buffers were sized to s->maxsize but high-bit-depth (9-14 bit) samples could index up to 1<<16, so the H/H/H impact reflects a genuine heap out-of-bounds write (CWE-787) with possible code execution, though code execution is stated as a possibility, not a demonstrated outcome. The practical limiter not captured in the raw score is that the vulnerable path lives in the optional signalstats filter, which must be explicitly added to the filter chain - this sharply narrows the realistic attack surface. Net: a legitimately dangerous memory-corruption bug for environments that run signalstats on untrusted high-bit-depth video, but low likelihood of opportunistic mass exploitation given local vector, required user interaction, and non-default filter usage.

Exploit ScenarioDerived

An attacker crafts a planar 9-to-14-bit YUV video containing samples or saturation values exceeding the nominal maximum, then induces a victim or an automated media pipeline to process it through FFmpeg with the signalstats filter enabled; the unclamped values index past the histogram buffers, producing a heap out-of-bounds write that crashes the application or possibly allows code execution. Because the CVSS vector is AV:L with passive user interaction (UI:P), exploitation depends on the target choosing to process the malicious file through that specific filter rather than on any network-facing exposure. No public exploit code is identified at time of analysis - only the vendor patch commit and a VulnCheck advisory are available.

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 write in FFmpeg's signalstats video filter affects releases before 9.1: when the filter computes per-plane and saturation histograms for high bit depth input, samples above the nominal maximum index past the end of the allocated histogram buffers and corrupt adjacent heap memory. Practical exploitation is gated on the signalstats filter actually being present in the processing chain - it is an optional, non-default filter - and on the attacker being able to supply a planar 9- to 14-bit YUV stream carrying unclamped sample or saturation values, which is why the assessed vector is local with user interaction required (CVSS 3.1: AV:L/AC:L/PR:N/UI:R, C:H/I:H/A:H; the CNA publishes 8.5 under CVSS 4.0). A vendor fix exists in the form of commit 04955e8b and the 9.1 release; no public exploit code has been identified at the time of analysis, and the vuln.today priority label places remediation in the current week.

RemediationAI

Vendor-released patch: upgrade to FFmpeg 9.1, or cherry-pick upstream commit 04955e8b148fa3e7ab022cbb9f5e35c49165ae21 (proposed as PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121), which resizes the histy/histu/histv/histsat buffers to a full 65536 entries for depths above 8 bits via av_calloc and casts the saturation hypotf() result to int; downstream embedders should rebuild libavfilter against the fixed source rather than relying on distribution packaging that may lag. Where upgrading cannot be done immediately, the exposure is removed by taking signalstats out of the filter graph - do not allow untrusted input to reach a chain containing signalstats, or restrict such jobs to trusted media - accepting that the signal statistics, histogram and saturation/hue reporting that the filter provides is lost for those workflows, and note that the vendor's complete fix is the updated code, so filter removal is only a stop-gap. The advisory at https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-write-via-signalstats-filter-histograms and the source diff at https://github.com/FFmpeg/FFmpeg/commit/04955e8b148fa3e7ab022cbb9f5e35c49165ae21 should be referenced when validating the deployed build.

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 issue lives in libavfilter/vf_signalstats.c, the filter that reports signal statistics (per-plane histograms, saturation and hue metrics) for YUV video. In config_output() the four histogram arrays - histy, histu, histv and histsat - were sized from s->maxsize, i.e. the nominal maximum sample value implied by the declared bit depth (for example 1023 for 10-bit). The sample loop in the 16-bit path then used the actual sample or derived saturation value as an index without clamping it to that nominal maximum, so a planar YUV frame of 9 to 14 bits whose samples (or whose saturation magnitude) exceed the nominal range writes one or more entries past the end of the array - a classic CWE-787 out-of-bounds write that can crash the process or potentially be shaped into code execution because it corrupts heap metadata/adjacent allocations. The upstream fix replaces av_malloc_array(s->maxsize, ...) with av_calloc(1 << (s->depth > 8 ? 16 : 8), ...), giving the high bit depth path a full 65536-entry, zero-initialised histogram regardless of the declared depth, and additionally casts the hypotf() result to int in compute_sat_hue_metrics16(). The evaluation path is the FFmpeg command line or any application embedding libavfilter that enables signalstats; nothing in the available sources indicates a trigger reachable without that filter being selected.

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 victim must process a crafted file through the optional signalstats filter; PR:N as no privileges are needed on the FFmpeg process; C/I/A:H reflect heap out-of-bounds write with possible code execution.

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 libavfilter/vf_signalstats.c that allows attackers to corrupt heap memory by supplying high bit depth samples exceeding the nominal maximum. Attackers can craft planar 9 to 14 bit YUV video whose unclamped samples or saturation values index past histogram ends, crashing applications or possibly executing code.

Executive ViewAI

Why It Matters

A high-severity memory corruption flaw in FFmpeg's signalstats filter (CVE-2026-135738) can crash or compromise systems that process untrusted high-bit-depth video. Although the filter is non-default and exploitation requires local interaction, any product or service that ingests user-supplied media and uses this filter is at risk, potentially leading to data corruption, unauthorized code execution, or service disruption.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
FFmpeg libraries embedded across media pipelines, browsers, servers, and apps
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.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