{"id":"CVE-2017-17081","details":"The gmc_mmx function in libavcodec/x86/mpegvideodsp.c in FFmpeg 2.3 and 3.4 does not properly validate widths and heights, which allows remote attackers to cause a denial of service (integer signedness error and out-of-array read) via a crafted MPEG file.","modified":"2026-08-17T05:25:58.100182Z","published":"2017-11-30T21:29:00.297Z","related":["openSUSE-SU-2018:0470-1","openSUSE-SU-2018:0476-1","openSUSE-SU-2024:10754-1"],"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4099"},{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3516#c1"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8"},{"type":"FIX","url":"https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2017-November/219748.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.ffmpeg.org/ffmpeg.git","events":[{"introduced":"22b0daa1b3f0ac5d91cc1a057d230995590847cd"},{"last_affected":"22b0daa1b3f0ac5d91cc1a057d230995590847cd"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:3.4:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.4"},{"last_affected":"3.4"}]}}],"versions":["3.4","n3.4-dev"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17081.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"22b0daa1b3f0ac5d91cc1a057d230995590847cd"},{"last_affected":"22b0daa1b3f0ac5d91cc1a057d230995590847cd"},{"fixed":"27f8d386829689c346ff0cef00d3af57b9fb8903"},{"fixed":"58cf31cee7a456057f337b3102a03206d833d5e8"}],"database_specific":{"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:3.4:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.4"},{"last_affected":"3.4"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["3.4","n3.5-dev","n3.4-dev"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17081.json","vanir_signatures_modified":"2026-08-17T05:25:58Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["99497488655434298647149463799167973397","139953449297124945114340788739349000224","48342063533814020514514237702143492153","62296206643640862599570083544025886110","66039701322916065952347494566869563446"],"threshold":0.9},"id":"CVE-2017-17081-1c8014d9","signature_type":"Line","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903","target":{"file":"libavcodec/x86/mpegvideodsp.c"}},{"signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903","target":{"file":"libavcodec/x86/mpegvideodsp.c","function":"gmc_mmx"},"deprecated":false,"digest":{"function_hash":"121043539817440664565750123988210661973","length":4178},"id":"CVE-2017-17081-207cbed6","signature_type":"Function"},{"deprecated":false,"digest":{"line_hashes":["99497488655434298647149463799167973397","139953449297124945114340788739349000224","48342063533814020514514237702143492153","62296206643640862599570083544025886110","66039701322916065952347494566869563446"],"threshold":0.9},"id":"CVE-2017-17081-432d4ca8","signature_type":"Line","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8","target":{"file":"libavcodec/x86/mpegvideodsp.c"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8","target":{"file":"libavcodec/x86/mpegvideodsp.c","function":"gmc_mmx"},"deprecated":false,"digest":{"function_hash":"121043539817440664565750123988210661973","length":4178},"id":"CVE-2017-17081-54e217cb"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}