FFmpeg 8.0 before 9.1 Arbitrary File Truncation via WHIP Muxer Location Header
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 24, 2026
Description
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | 8.0 to before 9.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 5.5 Medium | VulnCheck |
Weaknesses
- CWE-73 External Control of File Name or Path
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/whip.c#L831Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg 8.0 before 9.1 Arbitrary File Truncation via WHIP Muxer Location HeaderThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.