{"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-03-14T01:31:13.753823Z","published":"2017-11-30T21:29:00.297Z","related":["MGASA-2018-0008","MGASA-2018-0116","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://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"last_affected":"22b0daa1b3f0ac5d91cc1a057d230995590847cd"},{"fixed":"27f8d386829689c346ff0cef00d3af57b9fb8903"},{"fixed":"58cf31cee7a456057f337b3102a03206d833d5e8"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.4"}]}}],"versions":["N","n0.11-dev","n0.12-dev","n0.8","n1.1-dev","n1.2-dev","n1.3-dev","n2.0","n2.1-dev","n2.2-dev","n2.3-dev","n2.4-dev","n2.5-dev","n2.6-dev","n2.7-dev","n2.8-dev","n2.9-dev","n3.1-dev","n3.2-dev","n3.3-dev","n3.4-dev","n3.5-dev"],"database_specific":{"vanir_signatures":[{"id":"CVE-2017-17081-1c8014d9","target":{"file":"libavcodec/x86/mpegvideodsp.c"},"source":"https://github.com/ffmpeg/ffmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903","digest":{"threshold":0.9,"line_hashes":["99497488655434298647149463799167973397","139953449297124945114340788739349000224","48342063533814020514514237702143492153","62296206643640862599570083544025886110","66039701322916065952347494566869563446"]},"signature_type":"Line","signature_version":"v1","deprecated":false},{"id":"CVE-2017-17081-207cbed6","target":{"function":"gmc_mmx","file":"libavcodec/x86/mpegvideodsp.c"},"source":"https://github.com/ffmpeg/ffmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903","digest":{"length":4178,"function_hash":"121043539817440664565750123988210661973"},"signature_type":"Function","signature_version":"v1","deprecated":false},{"id":"CVE-2017-17081-432d4ca8","target":{"file":"libavcodec/x86/mpegvideodsp.c"},"source":"https://github.com/ffmpeg/ffmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8","digest":{"threshold":0.9,"line_hashes":["99497488655434298647149463799167973397","139953449297124945114340788739349000224","48342063533814020514514237702143492153","62296206643640862599570083544025886110","66039701322916065952347494566869563446"]},"signature_type":"Line","signature_version":"v1","deprecated":false},{"id":"CVE-2017-17081-54e217cb","target":{"function":"gmc_mmx","file":"libavcodec/x86/mpegvideodsp.c"},"source":"https://github.com/ffmpeg/ffmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8","digest":{"length":4178,"function_hash":"121043539817440664565750123988210661973"},"signature_type":"Function","signature_version":"v1","deprecated":false}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17081.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}