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… (CVE-2026-107660)
Description
FFmpeg versions before 8.1.3 and 9.x before 9.0.2 have an improper certificate validation vulnerability in the tls_open() function of libavformat/tls_mbedtls.c. This flaw causes hostname checks to be skipped for IP-address hosts, allowing network attackers to intercept and tamper with HTTPS, RTMPS, or TLS connections to IP-literal URLs using any trusted CA-issued certificate.
CVSS v3.1
Score 4.8medium
Affected software
pkg:github/ffmpeg/FFmpegRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in FFmpeg affects versions prior to 8.1.3 and 9.x prior to 9.0.2. It is located in the tls_open() function within libavformat/tls_mbedtls.c, where improper certificate validation occurs by skipping hostname verification for IP-address hosts. This allows an attacker on the network to intercept encrypted streams (HTTPS, RTMPS, TLS) directed at IP-literal URLs and manipulate or read the data if they present any trusted CA-issued certificate, bypassing intended hostname verification.
Potential Impact
An attacker capable of intercepting network traffic to IP-literal URLs can exploit this vulnerability to read and tamper with encrypted streams, potentially compromising confidentiality and integrity of the data transmitted over HTTPS, RTMPS, or TLS connections. The CVSS score of 4.8 reflects a medium severity with low confidentiality and integrity impact and no availability impact.
Mitigation Recommendations
A fix is available in FFmpeg versions 8.1.3 and 9.0.2 or later. Users should upgrade to these or later versions to remediate the improper certificate validation vulnerability. No vendor advisory content was provided to indicate alternative mitigations or that the issue is already mitigated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r4c5-645c-gfxv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-107660"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ac80f172cdf04f656390549
Added to database: 10/08/2026, 21:45:59 UTC
Last enriched: 10/08/2026, 21:52:07 UTC
Last updated: 10/08/2026, 23:28:13 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.