CVE-2026-107698

FFmpeg before 7.1.4 and 8.0.2 SSRF via RTSP Redirect Handling

Published Oct 8, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

FFmpeg versions before 7.1.4 and 8.0.x before 8.0.2 have a server-side request forgery flaw in the rtsp.c connection routine that follows RTSP 3xx redirects without validating the Location URL. The vulnerability allows an attacker who controls an RTSP server to redirect FFmpeg to any host or port, including internal network services, bypassing the protocol whitelist filter. This can result in the FFmpeg process probing or probing in ways that expose information about internal hosts, potentially facilitating further attacks or reconnaissance.

Affected Systems

The flaw affects all FFmpeg binaries relying on the libavformat/rtsp.c routine, specifically releases before 7.1.4 and releases of the 8.0 series before 8.0.2. Systems running those exact releases are vulnerable; upgrading to FFmpeg 7.1.4 or later, or 8.0.2 or later, removes the issue.

Risk and Exploitability

The CVSS score of 5.3 classifies the vulnerability as moderate. No EPSS value is provided, and the security advisory is not listed in the CISA KEV catalog. The attack vector is remote; an attacker must control an RTSP server and initiate a connection from the vulnerable FFmpeg instance. If achieved, the attacker can redirect the client to arbitrary destinations, allowing internal network enumeration and potentially exposing sensitive services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 7.1.4 or later, or 8.0.2 or later.
  • Configure network firewall to restrict outbound RTSP traffic to known safe destinations.
  • Enable or enforce protocol whitelist in FFmpeg to restrict accepted schemes.

Generated by OpenCVE AI on October 8, 2026 at 18:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title FFmpeg before 7.1.4 and 8.0.2 SSRF via RTSP Redirect Handling
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-918
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 5:51 PM
Reserved
Oct 8, 2026, 4:51 PM
Status
Analyzed
Published
Oct 8, 2026, 6:17 PM
Modified
Oct 15, 2026, 12:01 AM
Severity
Moderate
Public date
Oct 8, 2026, 5:30 PM