CVE-2026-107698: FFmpeg before 7.1.4 and 8.0.2 SSRF via RTSP Redirect Handling

Published Oct 8, 2026
·
Updated

FFmpeg before 7.1.4 and 8.0.x before 8.0.2 contains a server-side request forgery vulnerability in ffrtspconnect() 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 -protocolwhitelist, to probe internal network services.

Affected Software

1 affected component
FFmpeg FFmpeg<7.1.4, >=8.0.0<8.0.2

Event History

Oct 8, 2026
CVE Published
via MITRE·05:30 PM
Data Sourced
via MITRE·05:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications are exposed when they use affected FFmpeg versions to connect to RTSP servers that may be malicious or attacker-controlled. The malicious server can cause FFmpeg to make requests toward internal hosts and ports.

2

What does an attacker need to exploit it?

An attacker needs to control, or cause the application to connect to, an RTSP server that returns a 3xx redirect with a crafted Location URL. No FFmpeg privileges are required, but user interaction is required according to the supplied CVSS vector.

3

Does using -protocol_whitelist prevent exploitation?

No. The issue can bypass -protocol_whitelist because RTSP redirects are followed without validating the redirect Location URL, including redirects to other schemes.

4

Which versions should be remediated?

Upgrade FFmpeg to 7.1.4 or later in the 7.1 line, or to 8.0.2 or later in the 8.0 line. Versions before 7.1.4 and 8.0.x versions before 8.0.2 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203