CVE-2026-107698
FFmpeg before 7.1.4 and 8.0.x before 8.0.2 contains a server-side …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22292
- github.com/FFmpeg/FFmpeg
- github.com/FFmpeg/FFmpeg/blob/n7.1.3/libavformat/rtsp.c#L2016
- github.com/FFmpeg/FFmpeg/commit/2326bc5f69c9
- github.com/FFmpeg/FFmpeg/commit/7c011995e394
- github.com/FFmpeg/FFmpeg/commit/ea9e85e54981b8402368d0f21648836d6738f1b1
- github.com/FFmpeg/FFmpeg/commit/f9aa8729bce1
- www.vulncheck.com/advisories/ffmpeg-before-7.1.4-and-8.0.2-ssrf-via-rtsp-redirect-handling
- nvd.nist.gov/vuln/detail/CVE-2026-107698
- cve.org/CVERecord?id=CVE-2026-107698
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.