Skip to main content

FFmpeg EUVDEUVD-2026-95080

| CVE-2026-107675 MEDIUM
Key Exchange without Entity Authentication (CWE-322)
2026-10-08 VulnCheck GHSA-vv62-hhh4-f6vv
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain man-in-the-middle position via ARP/DNS spoofing
  2. Delivery
    Victim's FFmpeg initiates sftp:// connection
  3. Exploit
    Impersonate SFTP server without host-key check
  4. Execution
    Capture URL-supplied password and serve forged media
  5. Impact
    Information disclosure and content tampering

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Authenticated key exchange
Exploitation Conditions

Exploitation requires FFmpeg to be built with libssh support AND the victim application/user to actually use the sftp:// protocol handler with a password-bearing URL - this is not a default media workflow. The attacker must additionally hold an active man-in-the-middle position on the network (ARP, DNS, or routing spoofing) at the moment of connection. Limiting factors: required user interaction (supplying or triggering the sftp URL, reflected as UI:P), the attacker's need for a privileged on-path network position (AT:P), high attack complexity (AC:H), and the compile-time/runtime dependence on the libssh SFTP feature - none of which apply to the vast majority of FFmpeg invocations that process local files or HTTP(S)/RTMP streams.

Impact

This is a genuine but conditional medium-severity issue, not a drop-everything priority. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:P, score 6.0) is internally consistent with the description: no authentication is needed (PR:N), but exploitation demands a privileged network position (AT:P), succeeds only against a user action (UI:P supplying/triggering an sftp URL), and is non-trivial (AC:H), which collectively depress real-world risk despite the network attack vector. Impact is primarily confidentiality (VC:H - capture of passwords embedded in sftp:// URLs) with limited integrity (VI:L - forged media served to the victim) and no availability impact. There is no EPSS score, KEV listing, or POC in the provided data: exploitation status is 'no public exploit identified at time of analysis,' which aligns with a flaw that requires an active man-in-the-middle rather than remote mass exploitation. Note a signal to weigh: FFmpeg is ubiquitously deployed, but this flaw only reaches code paths that use the libssh-based SFTP handler, so the ubiquitous product footprint overstates the actual attack surface - most FFmpeg deployments never invoke sftp:// at all. No conflicting signals were observed between the CVSS vector and the description; both point to an adjacent/network MITM scenario against SFTP clients.

Exploit ScenarioDerived

A victim runs FFmpeg against an sftp:// URL (e.g., to pull or push media) while an attacker occupies the network path via ARP or DNS spoofing. Because FFmpeg's libssh handler does not verify the server host key, the attacker impersonates the real SFTP server, harvests the password embedded in the sftp URL, and can return forged media or capture uploaded output. No public exploit code is identified at time of analysis, but the technique (SSH MITM without host-key pinning) is well understood and requires no memory-corruption primitive.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Oct 08, 2026

FFmpeg 9.0.2 and earlier, when compiled with libssh support, fail to verify SSH host keys in the sftp:// protocol handler, allowing an on-path attacker to impersonate a legitimate SFTP server and capture passwords embedded in sftp:// URLs, serve forged media, or receive uploaded output. The issue is conditional rather than broadly exploitable: it only affects applications that actually invoke the sftp:// handler with password-bearing URLs, and the attacker must already hold a privileged man-in-the-middle position (ARP, DNS, or routing spoofing) at the moment of connection. No public exploit code or confirmed active exploitation was identified at the time of analysis.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the correction is tracked as FFmpeg pull request 24384 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24384) and commit 2b822b7fb6ed195546bc9fd9bdb794e98222bdce (https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/2b822b7fb6ed195546bc9fd9bdb794e98222bdce), so affected deployments should upgrade FFmpeg past 9.0.2 to a release that contains that change once it is published, and should first confirm the fix is present in the chosen build. If an immediate upgrade is not possible, the most effective compensating control is to avoid invoking the sftp:// protocol handler with password-bearing URLs, processing media from local storage, HTTPS, or trusted mount points instead, which removes the attack surface at the cost of losing FFmpeg's built-in SFTP input/output. Rebuilding FFmpeg with --disable-libssh fully eliminates the vulnerable code path but also disables all SFTP functionality, while restricting sftp:// usage to network paths where a man-in-the-middle is not feasible remains a weaker, harder-to-enforce mitigation; regardless of the chosen approach, any SFTP credentials previously supplied through FFmpeg URLs should be treated as potentially compromised and rotated.

Affected VersionsENISA

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

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 defect lives in libavformat/libssh.c (lines 60-110 in the n9.0.2 reference), FFmpeg's SFTP input/output module built on the libssh library. The code establishes an SSH connection but does not perform SSH host key verification against a known_hosts file or a pinned key, which is CWE-322 (Key Exchange without Entity Authentication). SSH host key verification is the mechanism that binds a server's public key to its identity; without it, the client accepts any key presented during key exchange, so a network attacker with an on-path position (ARP spoofing, DNS poisoning, or malicious routing) can transparently complete the SSH handshake as the impersonated server. Because libssh support is a compile-time option and the vulnerable path is only reached when the sftp:// protocol is used, exposure is limited to builds and workflows that deliberately use FFmpeg's SFTP feature set; default local-file, HTTP(S), and RTMP media processing is unaffected. The assessed vector (CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N, with the CVSS 4.0 vector adding AT:P, UI:P, VC:H, VI:L) describes an unauthenticated network attack of high complexity that requires a privileged attacker position and partial user interaction, with high confidentiality impact and low integrity impact - consistent with an adversary who can steal credentials and substitute media streams but cannot necessarily corrupt resulting files or disrupt availability.

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 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

MITM position and absent host-key check make AC:H; no auth needed (PR:N); victim must initiate the sftp connection (UI:R); password capture gives C:H, forged media I:L, no A impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/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
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg through 9.0.2 contains a missing host key verification vulnerability in the libssh-based sftp protocol handler that allows network attackers to impersonate SFTP servers. Attackers performing man-in-the-middle, DNS, or ARP spoofing can capture passwords supplied in sftp URLs, serve forged media, or receive uploaded output.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
FFmpeg is a core multimedia library embedded across countless systems and distributions
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

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

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

Vendor StatusVendor

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