{"id":"CVE-2026-107660","summary":"FFmpeg before 8.1.3 and 9.x before 9.0.2 mbedTLS Hostname Verification Bypass for IP Hosts","details":"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.","modified":"2026-10-09T07:06:53.912201908Z","published":"2026-10-08T15:28:40.750Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-297"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107660.json"},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg"},{"type":"FIX","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/0cd2a70eacd510c2efed48b9fc177c7cb2bc549f"},{"type":"FIX","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/57a2e704b4a6eda5d061b45aacde6b19c026bfc0"},{"type":"FIX","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/d377212904a19fc740d721cbda0ba58fa3805a29"},{"type":"FIX","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24383"},{"type":"WEB","url":"https://ffmpeg.org/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107660.json"},{"type":"ARTICLE","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavformat/tls_mbedtls.c#L676-L681"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107660"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-mbedtls-hostname-verification-bypass-for-ip-hosts"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"fixed":"1041abdc962f4cc4f394aa8de9dc5236c0c3b9e7"},{"introduced":"d32b387f2b0a484599d4587d651891f0c63c4238"},{"fixed":"946fcce07b6dcd0331c8cc609192aeff5e1924f8"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"8.1.3"},{"introduced":"9.0"},{"fixed":"9.0.2"}],"source":"AFFECTED_FIELD"}}],"versions":["n9.0.1","n9.0","n8.1.2","n8.1.1","n8.1","n8.1-dev","n7.2-dev","n7.1-dev","n6.2-dev","n6.1-dev","n5.2-dev","n5.1-dev","n4.5-dev","n4.4-dev","n4.3-dev","n4.2-dev","n4.1-dev","n3.5-dev","n3.4-dev","n3.3-dev","n3.2-dev","n3.1-dev","n2.9-dev","n2.8-dev","n2.7-dev","n2.6-dev","n2.5-dev","n2.4-dev","n2.3-dev","n2.2-dev","n2.0","n2.1-dev","n1.3-dev","n1.2-dev","n1.1-dev","n0.12-dev","n0.11-dev","n0.8","N"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107660.json","vanir_signatures":[{"target":{"function":"tls_open","file":"libavformat/tls_gnutls.c"},"deprecated":false,"digest":{"function_hash":"105442483210926319160465196797642082364","length":4774},"id":"CVE-2026-107660-397b5519","signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/1041abdc962f4cc4f394aa8de9dc5236c0c3b9e7"},{"target":{"file":"libavformat/tls_gnutls.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["294743355700093164049687108208873085085","224965271620837188898662069401134792161","265157521262625521451262118292114363008","25267032580962748686041211766260548539","288771055614593351168329352873927446828","53989852260687713572797447970147499102","85263668306260175235908565784155404500","126708715019858463115413013055776439727","250936792900039357966242742548850663615","233269261520550088398052581304792306815","100169017263657203071873393627980140697","259030622961485660928302215624760282163","207706088114512659742213377410159498610","240026302395214622814105709906272076705","307969978196503324667336784936863433154","248723093221806719839251281363761281731","295275768641886040795633308418339589772","246824707463387711938561227461300764945","218915441499077723859496405218262171036","287680861236209989555898420906212164973","89283821891072419980986328050002025119","35321890611978964423610561484240052326","293356392578078406821798609450059364653","176799238777128513161325516005692082610","306300210666150773252873265185691743758","172210818910291424728612305586102494925","91354717951606701022962506954206737364","27898421268780237467740626846927593971","43363202001267167103800358854796501422"]},"id":"CVE-2026-107660-bb8a9c63","signature_type":"Line","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/1041abdc962f4cc4f394aa8de9dc5236c0c3b9e7"}],"vanir_signatures_modified":"2026-10-09T07:06:53Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}