Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious 9-14 bit YUV video
-
DeliveryDeliver file to FFmpeg signalstats user
-
ExploitUnclamped samples index past histogram ends
-
ExecutionHeap 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 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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 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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
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-133611
GHSA-vc3g-9689-99g4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB