Skip to main content

FFmpeg EUVDEUVD-2026-133641

| CVE-2026-135708 MEDIUM
External Control of File Name or Path (CWE-73)
2026-11-24 VulnCheck GHSA-qpr5-c4fj-wmgp
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Victim streams to malicious WHIP server
  2. Exploit
    Server returns file: URL in Location header
  3. Execution
    WHIP muxer accepts unvalidated URL scheme
  4. Impact
    dispose_session() opens path read-write, truncating target file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires the victim to actively use FFmpeg's WHIP muxer (WebRTC-HTTP Ingestion Protocol egress, e.g. '-f whip') and to connect to an attacker-controlled or malicious WHIP server; the server supplies a Location header whose value is a file: (or other non-http) URL, which the pre-patch code stores without validating the scheme. Limiting factors: UI:P - the victim must initiate the streaming session to the hostile endpoint; impact is bounded to files writable by the user running FFmpeg; only versions 8.0 before 9.1 are affected; and the WHIP muxer is a niche feature not enabled in typical media workflows. The fix restricts the resource URL to http(s) schemes, so unpatched-but-unused WHIP deployments are not exposed in practice.

Impact

CVSS 4.0 rates this 6.8 (Medium): AV:L/AC:L/AT:N/PR:N/UI:P with VI:H and VC:N/VA:N - an integrity-only flaw triggered locally with passive user interaction and no authentication. The local vector (AV:L) is notable given the threat actor is a remote malicious WHIP server: CVSS models it as local because the victim must actively drive FFmpeg to publish a stream to the attacker-controlled endpoint, and the resulting damage lands on the victim's own filesystem. No EPSS score, CISA KEV status, or PoC/exploit reference is present in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today Decision label is 'this_month', not act_now/emergency, consistent with a vendor-patched, feature-gated integrity bug rather than a widespread emergency. Real-world priority is moderate and conditional: FFmpeg itself is ubiquitous, but the vulnerable path is the WHIP (WebRTC-HTTP Ingestion Protocol) muxer, a narrow egress feature most deployments never invoke, and exploitation needs the victim to connect to a hostile WHIP server. Treat as a 'patch this month' item rather than a drop-everything priority, with elevated urgency only for environments that actually use WHIP egress.

Exploit ScenarioDerived

An attacker operates or compromises a WHIP server; when a victim uses FFmpeg's WHIP muxer to publish a stream to it, the server returns an HTTP Location header containing a file: URL. On session teardown, dispose_session() opens that path read-write with truncation, destroying an arbitrary user-writable file (such as a config, key, or media asset) on the victim host, or redirecting the request to another protocol. No public exploit code is identified in the input, and UI:P indicates the victim must initiate the WHIP connection.

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 – Nov 24, 2026

FFmpeg 8.0 before 9.1 can be induced to create or truncate arbitrary user-writable files when its WHIP muxer connects to a malicious WHIP server that returns a file: URL in the Location header. The issue is integrity-only (CVSS 4.0 6.8; assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N) and requires the victim to initiate a WHIP streaming session to an attacker-controlled endpoint; no public exploit code or CISA KEV entry was identified at time of analysis. The vendor addressed it by restricting the returned resource URL to http(s) schemes, with the fix available in FFmpeg 9.1 and via upstream commit 96994cbf55da07f3611152e51c6a237fa3e556d8.

RemediationAI

Upgrade to FFmpeg 9.1 or later; the affected range is FFmpeg 8.0 before 9.1, and the upstream fix commit 96994cbf55da07f3611152e51c6a237fa3e556d8 (PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916) restricts the WHIP Location resource URL to http(s) schemes so a returned file: or other non-http URL is rejected with AVERROR_INVALIDDATA. If upgrading is not immediately possible, avoid using the WHIP muxer (-f whip) against untrusted or attacker-controlled WHIP servers, since exploitation requires the victim to establish a WHIP session and the malicious server to return a crafted Location header; this disables the affected streaming egress functionality as a trade-off. Refer to the VulnCheck advisory at https://www.vulncheck.com/advisories/ffmpeg-8.0-before-9.1-arbitrary-file-truncation-via-whip-muxer-location-header for the vendor-coordinated guidance.

Affected VersionsENISA

FFmpeg 8.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 flaw is in FFmpeg's WHIP (WebRTC-HTTP Ingestion Protocol) muxer, implemented in libavformat/whip.c, which performs an HTTP-based SDP exchange for media egress. During exchange_sdp(), FFmpeg reads the server's Location header through ff_http_get_new_location() and previously used that attacker-controlled value without validating its URL scheme. Because the location is later handled during session teardown by dispose_session(), a malicious WHIP server can supply a file: URL that is opened read-write with truncation, causing arbitrary user-writable files to be created or destroyed; non-http schemes can also redirect requests to other protocols. This is CWE-73 (External Control of File Name or Path): the server controls a resource locator that the client treats as a filesystem or protocol target. The patch adds avio_find_protocol_name() and rejects any Location whose protocol name does not start with "http", returning AVERROR_INVALIDDATA. The trigger is specifically a WHIP muxer session against a hostile or compromised WHIP server; the WHIP muxer is a niche feature and is not part of typical media workflows, so deployments that do not invoke it are not exposed in practice.

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

Victim-initiated connection to a malicious server (UI:R) and local filesystem impact (AV:L); no auth needed (PR:N); arbitrary file truncation modeled as high integrity loss with no confidentiality.

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

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
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg 8.0 before 9.1 contains an improper URL scheme validation vulnerability in the WHIP muxer that allows malicious WHIP servers to create or truncate local files via the Location header. Attackers can return a file: URL that dispose_session() opens read-write with truncation on teardown, destroying arbitrary user-writable files or redirecting requests to other protocols.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
FFmpeg is embedded across countless media apps and platforms
Social Media
1
Sightings
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 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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

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