SSRF in Ffmpeg
CVE-2026-107698
FFmpeg before 7.1.4 and 8.0.x before 8.0.2 contains a server-side request forgery vulnerability in ff_rtsp_connect() in libavformat/rtsp.c that follows RTSP 3xx redirects without validating the Location URL. Malicious RTSP servers can redirect FFmpeg to internal hosts and ports under other schemes, bypassing -protocol_whitelist, to probe internal network services.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/FFmpeg/FFmpeg/commit/ea9e85e54981b8402368d0f21648836d6738f1b1 (patch)
- github.com/FFmpeg/FFmpeg/commit/2326bc5f69c9 (patch)
- github.com/FFmpeg/FFmpeg/commit/7c011995e394 (patch)
- github.com/FFmpeg/FFmpeg/commit/f9aa8729bce1 (patch)
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22292 (patch)
- github.com/FFmpeg/FFmpeg/blob/n7.1.3/libavformat/rtsp.c (technical-description)
- github.com/FFmpeg/FFmpeg (product)
- www.vulncheck.com/advisories/ffmpeg-before-7.1.4-and-8.0.2-ssrf-via-rtsp-redire… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-107698?
- CVE-2026-107698 is a medium-severity vulnerability in Ffmpeg, classified under Server-Side Request Forgery (SSRF). CVSS score: 5.4/10. Published 2026-10-08.
- How severe is CVE-2026-107698?
- Medium severity. CVSS v3 base score is 5.4 out of 10.