| Name | CVE-2026-107698 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6276-1, DSA-6361-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ffmpeg (PTS) | bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | fixed |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | fixed | |
| forky | 7:9.0.2-1 | fixed | |
| sid | 7:9.0.2-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ffmpeg | source | bookworm | 7:5.1.9-0+deb12u1 | DSA-6276-1 | ||
| ffmpeg | source | trixie | 7:7.1.5-0+deb13u1 | DSA-6361-1 | ||
| ffmpeg | source | (unstable) | 7:8.1-1 |
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/ea9e85e54981b8402368d0f21648836d6738f1b1 (n8.1)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/f9aa8729bce10e99046e69754d61e43c00f7877b (n8.0.2)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/7c011995e394e04f685d6674727dd490cfb297ba (n7.1.4)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/b05562b9b399057b6537fae337d0eeabcff6ef5c (n5.1.9)