Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach FFmpeg zmq/azmq or sendcmd command interface
-
ExploitSend scale width/height command using ref variables
-
Executionconfig_props() reads past the input array
-
ImpactInvalid pointer dereference crashes process (DoS, minor memory leak)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection 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 process be configured to accept runtime filter commands AND that a scale filter in the graph receive a width or height command referencing ref variables when no ref input exists. Concretely, the command delivery path must be one of: a sendcmd (or asendcmd) script, or the zmq/azmq filter - which per the description accepts commands without authentication and is the only path where PR:N truly applies. LIMITING FACTORS: this is not a default configuration - a standard FFmpeg transcode or playback invocation does not expose any command interface, so most deployments are not reachable; CVSS marks AC:H and AT:P, indicating the trigger is not trivially satisfied; impact is confined to a crash (DoS) plus a small out-of-bounds read, not memory corruption or code execution. |
| Impact | The input CVSS 4.0 score of 8.3 (High) is driven by AV:N (network reachable) and VA:H (process crash), but two metrics materially reduce real-world risk: AC:H (high attack complexity) and AT:P (a specific attack requirement must be met). PR:N (unauthenticated) is credible only in the specific case the description calls out - the zmq/azmq filters accepting commands without authentication - not for arbitrary deployments. The actual impact is a denial of service (config_props() dereferences an invalid pointer and crashes, VA:H) plus a low-grade out-of-bounds memory read (VC:L); this is not code execution (VI:N, CWE-125 is an OOB read, not a write). No EPSS score, no KEV listing, and no confirmed public exploit code were supplied, so there is no signal of active or widespread exploitation. The vuln.today decision label is 'this_week', consistent with a prompt-but-not-emergency fix. Net assessment: this is a real, patch-worthy issue but a conditional DoS rather than a critical widely-exploitable flaw - its practical reach is gated by the uncommon requirement that an FFmpeg process be configured to accept runtime filter commands (sendcmd script, or an exposed zmq/azmq filter). The biggest caveat is that the headline 8.3 overstates risk for the overwhelming majority of FFmpeg deployments that never expose a command interface. |
| Exploit ScenarioDerived | An attacker who can reach an FFmpeg process that accepts runtime filter commands - for example an unauthenticated zmq/azmq filter endpoint, or a sendcmd script path - sends a width or height command to the scale filter that uses ref variables while no ref input is present. config_props() then dereferences a pointer past the filter input array, leaking a small amount of memory and crashing the process. No confirmed public exploit code was identified at time of analysis; the attack complexity is rated high (AC:H/AT:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Out-of-bounds read in FFmpeg's libavfilter scale filter (versions 7.1 before 9.1) lets a runtime-supplied width or height expression that references ref variables dereference a pointer past the filter's input array, crashing the process. Reachability is narrow: the FFmpeg process must accept runtime filter commands through a sendcmd/asendcmd script or the zmq/azmq filters, and a scale instance must receive such a command while only one input exists, so a stock transcode or playback invocation that exposes no command interface is not reachable. No public exploit code or CISA KEV entry is associated with this CVE at time of analysis, and impact is confined to a small out-of-bounds read plus denial of service rather than memory corruption or code execution, which is why the 8.3 CVSS 4.0 score is tempered by AC:H and AT:P; the vendor fix is available and the case is prioritized for remediation this week.
RemediationAI
Apply the vendor fix: update to a build containing upstream commit dd1b4e4ba5c3280638fed06a88bf25690564170b (pull request 26081); the advisory's affected range ends before 9.1, so FFmpeg 9.1 and later carry the correction, and the patched vf_scale.c is visible under the n9.0.2 source tag referenced in the advisory (https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_scale.c#L578). Because the fix makes an initialized single-input scale filter reject any command that would add ref variables with AVERROR(EINVAL) and restores the previous uses_ref state, hosts that cannot upgrade immediately should remove the reachable command paths: strip untrusted sendcmd/asendcmd scripts from filter graphs, and do not expose the zmq/azmq filter endpoints beyond the local host - bind them to loopback or firewall the control socket, or omit those filters entirely - accepting the trade-off that remote or scripted runtime control of filter parameters, including dynamic scaling, is lost until the patch is applied. Restricting write access to command scripts and to the ZMQ control channel likewise reduces exposure to the unauthenticated command delivery path; note that the achievable impact under these conditions is a process crash and a small out-of-bounds read, not code execution.
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
libavfilter's scale filter evaluates user expressions (check_exprs / scale_parse_expr in libavfilter/vf_scale.c) and supports a 'ref' input mode in which expressions such as ref_w or ref_h read from a second, reference input link; scale->uses_ref records whether the current expression set depends on that link. The flaw is CWE-125 (out-of-bounds read): when a runtime command installs a width/height expression that sets uses_ref on a scale instance with ctx->nb_inputs == 1, no reference input exists, and config_props() later indexes/dereferences the filter input array for a link that was never created, producing an out-of-bounds read and a process crash. The upstream fix saves the prior uses_ref value, rejects an already-initialized filter command that would introduce ref variables when there is only one input ('Expressions with ref variables need the ref input, a command cannot add it.'), returns AVERROR(EINVAL), and reverts uses_ref on the error path. The trigger path is command delivery - a sendcmd/asendcmd script or the zmq/azmq filters (the latter accepts commands without authentication, the only path where PR:N truly applies); the CVSS 4.0 vector's AC:H and AT:P reflect that the specific combination of an initialized single-input scale filter plus a ref-variable command must be arranged, and the sources do not describe any other trigger.
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:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Network-reachable only via a command interface that is unauthenticated for zmq/azmq (PR:N) but hard to reach/trigger (AC:H); impact is a crash (A:H) with a minor OOB read (C:L), no integrity effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg 7.1 before 9.1 contains an out-of-bounds read vulnerability in libavfilter/vf_scale.c that allows attackers to read past the filter input array by sending width or height commands using ref variables. Attackers can send such commands via sendcmd scripts or unauthenticated zmq or azmq filters, causing config_props() to dereference an invalid pointer and crash the process.
Executive ViewAI
A high-severity vulnerability in the FFmpeg media framework (CVE-2026-135739) can cause a denial-of-service crash in specific configurations where runtime filter commands are enabled, affecting any product that processes untrusted media or exposes FFmpeg filter controls. Leadership should prioritize remediation because a crash can disrupt video processing pipelines and degrade service availability, though the narrow reachability and lack of public exploit code lower the immediate risk.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-133610
GHSA-r425-gp28-77j5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB