Skip to main content

FFmpeg CVE-2026-135739

| EUVDEUVD-2026-133610 HIGH
Out-of-bounds Read (CWE-125)
2026-11-24 VulnCheck GHSA-r425-gp28-77j5
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach FFmpeg zmq/azmq or sendcmd command interface
  2. Exploit
    Send scale width/height command using ref variables
  3. Execution
    config_props() reads past the input array
  4. Impact
    Invalid 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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

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

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

Vendor (VulnCheck) PRIMARY 8.3 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Ubiquitous
FFmpeg is a near-universal media processing library and tool across environments
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.5%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy