CVE-2026-107660: FFmpeg before 8.1.3 and 9.x before 9.0.2 mbedTLS Hostname Verification Bypass for IP Hosts

Published Oct 8, 2026
·
Updated

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an improper certificate validation vulnerability in tlsopen() of libavformat/tlsmbedtls.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.

Affected Software

1 affected component
FFmpeg FFmpeg<8.1.3, >=9.0.0<9.0.2

Event History

Oct 8, 2026
CVE Published
via MITRE·03:28 PM
Data Sourced
via MITRE·03:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which connections are affected?

The issue affects FFmpeg HTTPS, RTMPS, and TLS connections when the URL uses an IP address as the host rather than a hostname. Connections to IP-literal URLs can have their hostname verification skipped in the affected mbedTLS TLS implementation.

2

What does an attacker need to exploit this?

An attacker must be able to intercept the network connection. They can use any certificate issued by a trusted certificate authority, because the affected code does not verify that the certificate matches the IP-address host.

3

Which FFmpeg versions need updating?

Update FFmpeg to 8.1.3 or later in the 8.x line, or to 9.0.2 or later in the 9.x line. Versions before those releases are affected.

4

What can be done before updating?

Avoid using IP-literal URLs for HTTPS, RTMPS, or TLS streams. Use a hostname for the endpoint so hostname verification is applicable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203