CVE-2026-107698FFmpeg before 7.1.4 and 8.0.2 SSRF via RTSP Redirect Handling
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ffmpeg | Fix pending | UBUNTU-CVE-2026-107698 | |
| Ubuntu 26.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-107698 | |
| Ubuntu 24.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-107698 | |
| Ubuntu 22.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-107698 | |
| Ubuntu 20.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-107698 | |
| Ubuntu 18.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-107698 | |
| Ubuntu 16.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-107698 | |
| Ubuntu 14.04 | libav | Fix pending | UBUNTU-CVE-2026-107698 | |
| Debian 14 | ffmpeg | Fixed | 7:8.1-1 | DEBIAN-CVE-2026-107698 |
| Debian 13 | ffmpeg | Fixed | 7:7.1.5-0+deb13u1 | DEBIAN-CVE-2026-107698 |
| Debian 12 | ffmpeg | Fixed | 7:5.1.9-0+deb12u1 | DEBIAN-CVE-2026-107698 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FFmpeg: affected: before 7.1.4, 8.0 to before 8.0.2; fixed in
7.1.4,8.0.2
Vendor advisories:
- https://github.com/FFmpeg/FFmpeg/commit/ea9e85e54981b8402368d0f21648836d6738f1b1 (patch)
- https://github.com/FFmpeg/FFmpeg/commit/2326bc5f69c9 (patch)
- https://github.com/FFmpeg/FFmpeg/commit/7c011995e394 (patch)
- https://github.com/FFmpeg/FFmpeg/commit/f9aa8729bce1 (patch)
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22292 (patch)
References
- https://github.com/FFmpeg/FFmpeg/commit/ea9e85e54981b8402368d0f21648836d6738f1b1
- https://github.com/FFmpeg/FFmpeg/commit/2326bc5f69c9
- https://github.com/FFmpeg/FFmpeg/commit/7c011995e394
- https://github.com/FFmpeg/FFmpeg/commit/f9aa8729bce1
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22292
- https://github.com/FFmpeg/FFmpeg/blob/n7.1.3/libavformat/rtsp.c#L2016
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-before-7.1.4-and-8.0.2-ssrf-via-rtsp-redirect-handling
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.