JLSEC-2026-2071: FFmpeg before 7.1.4 and 8.0.x before 8.0.2 contains a server-side request forgery vulnerability...
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 8.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 8.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Applications using the affected FFmpeg builds are exposed when they connect to an RTSP server that an attacker controls or can influence. The affected software entries are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll.
What does an attacker need to exploit it?
The attacker needs to cause FFmpeg to connect to a malicious RTSP server and have that server return an RTSP 3xx redirect. No authentication privileges are required, but user interaction is required according to the supplied vector.
What could an attacker do through the vulnerability?
A malicious redirect can make FFmpeg initiate requests to internal hosts and ports using other schemes. This can be used to probe internal network services and bypass the configured -protocol_whitelist restriction.
Which FFmpeg versions are affected?
FFmpeg versions before 7.1.4 are affected, as are 8.0.x versions before 8.0.2.