Medium · published October 8, 2026
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an improper certificate validation vulnerability in tls_open() of libavformat/tls_mbedtls.c, which skips hostname checks for IP-address hosts. Network attackers can intercept https, rtmps, or tls connections to IP-literal URLs with any trusted CA-issued certificate to read and tamper with streams.
| Product | Versions | Fixed in |
|---|---|---|
| ffmpeg/ffmpeg | < 8.1.3 | 8.1.3 |
| ffmpeg/ffmpeg | ≥ 9.0, < 9.0.2 | 9.0.2 |