CVE-2026-107698

NameCVE-2026-107698
DescriptionFFmpeg 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6276-1, DSA-6361-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)bookworm, bookworm (security)7:5.1.9-0+deb12u1fixed
trixie (security), trixie7:7.1.5-0+deb13u1fixed
forky7:9.0.2-1fixed
sid7:9.0.2-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcebookworm7:5.1.9-0+deb12u1DSA-6276-1
ffmpegsourcetrixie7:7.1.5-0+deb13u1DSA-6361-1
ffmpegsource(unstable)7:8.1-1

Notes

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)

Search for package or bug name: Reporting problems