Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | < 7.1.4 |
Related Weaknesses (CWE)
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22292Issue TrackingPatch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n7.1.3/libavformat/rtsp.c#L2016Product
- https://github.com/FFmpeg/FFmpeg/commit/2326bc5f69c9Patch
- https://github.com/FFmpeg/FFmpeg/commit/7c011995e394Patch
- https://github.com/FFmpeg/FFmpeg/commit/ea9e85e54981b8402368d0f21648836d6738f1b1Patch
- https://github.com/FFmpeg/FFmpeg/commit/f9aa8729bce1Patch
- https://www.vulncheck.com/advisories/ffmpeg-before-7.1.4-and-8.0.2-ssrf-via-rtspPatchThird Party Advisory
FAQ
What is CVE-2026-107698?
CVE-2026-107698 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 Locati...
How severe is CVE-2026-107698?
CVE-2026-107698 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-107698?
Check the references section above for vendor advisories and patch information. Affected products include: Ffmpeg Ffmpeg.