Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim streams to malicious WHIP server
-
ExploitServer returns file: URL in Location header
-
ExecutionWHIP muxer accepts unvalidated URL scheme
-
Impactdispose_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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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
Related Vulnerabilities in FFmpeg libavformat Memory and Input Validation Flaws
View all 9FFmpeg 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-133641
GHSA-qpr5-c4fj-wmgp
NVD
CVE.org
EPSS
Exploit-DB