{"id":"CVE-2017-9831","aliases":["DEBIAN-CVE-2017-9831","DLA-1029-1","DLA-2169-1","EUVD-2017-18745","GHSA-g2jm-8mm3-8fg4","MGASA-2017-0225","UBUNTU-CVE-2017-9831"],"status":"published","title":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c...","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.","severity":{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00855,"percentile":0.58603,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2017-06-24T00:00:00Z","modified":"2026-11-03T02:30:53Z","fixes":[{"ecosystem":"Debian:12","package":"libmtp","fixed_in":["1.1.13-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libmtp","fixed_in":["1.1.13-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libmtp","fixed_in":["1.1.13-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libmtp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.13-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libmtp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.13-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libmtp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.13-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"libmtp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-35-g0ece104-5+deb7u1"}]}],"versions":["1.1.3-35-g0ece104-5"],"bundled":2},{"source":"osv","ecosystem":"Debian:8","package":"libmtp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-1+deb8u1"}]}],"versions":["1.1.8-1"],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"libmtp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-4.1.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"libgphoto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.7-1.2.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libmtp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.9-3ubuntu1","1.1.10-1ubuntu1","1.1.10-2","1.1.10-2ubuntu1"]}],"products":[{"vendor":"libmtp_project","product":"libmtp"}],"references":[{"url":"https://sourceforge.net/p/libmtp/mailman/message/35735992/","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Mailing List","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/04/msg00003.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9831"},{"url":"https://sourceforge.net/p/libmtp/mailman/message/35735992"},{"url":"https://github.com/advisories/GHSA-g2jm-8mm3-8fg4"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-9831","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0225.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21177","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/LTQ4RARXHHXXKCHPXONGT7HSMAQXNAVM/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-9831","tags":["report"]},{"url":"https://sourceforge.net/p/libmtp/code/ci/aa7d91a789873a9d86969028e57f888a1241c085/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9831","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-9831","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.","status":"published","published":"2017-06-24T00:00:00Z","modified":"2024-08-05T17:18:01.979Z","updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2017-18745","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.","status":"published","published":"2017-06-24T00:00:00Z","modified":"2024-08-05T17:18:01Z","updated_at":"2026-11-03T02:23:26.706423Z"}],"ghsa":[{"id":"GHSA-g2jm-8mm3-8fg4","title":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c...","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.","status":"published","published":"2022-05-13T01:27:27Z","modified":"2025-04-20T03:40:31Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:01:48.455381Z"}],"nvd":[{"id":"CVE-2017-9831","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.","status":"published","published":"2017-06-24T00:29:00.18Z","modified":"2026-06-17T01:29:00.363Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:03:51.893212Z"}],"osv":[{"id":"CVE-2017-9831","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.","status":"published","published":"2017-06-24T00:29:00.18Z","modified":"2026-11-03T02:30:53.918021135Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-03T03:05:53.289262Z"},{"id":"DEBIAN-CVE-2017-9831","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.","status":"published","published":"2017-06-24T00:29:00.18Z","modified":"2026-09-01T20:03:52.228589515Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:29.698576Z"},{"id":"UBUNTU-CVE-2017-9831","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.","status":"published","published":"2017-06-24T00:29:00Z","modified":"2026-04-22T11:38:41.173096Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:16.154988Z"},{"id":"DLA-1029-1","title":"libmtp - security update","status":"published","published":"2017-07-17T00:00:00Z","modified":"2026-03-09T01:01:15.664862Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DLA-2169-1","title":"libmtp - security update","status":"published","published":"2020-04-05T00:00:00Z","modified":"2026-03-09T01:19:45.358788Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"MGASA-2017-0225","title":"Updated libmtp and libgphoto packages fix security vulnerabilities","description":"An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx\nfunction of the ptp-pack.c file of libmtp and libgphoto allows attackers\nto cause a denial of service (out-of-bounds memory access) or maybe\nremote code execution by inserting a mobile device into a personal\ncomputer through a USB cable (CVE-2017-9831).\n\nAn integer overflow vulnerability in ptp-pack.c\n(ptp_unpack_OPL function) of libmtp and libgphoto allows attackers to\ncause a denial of service (out-of-bounds memory access) or maybe remote\ncode execution by inserting a mobile device into a personal computer\nthrough a USB cable (CVE-2017-9832).\n","status":"published","published":"2017-07-28T18:12:15Z","modified":"2026-04-16T06:25:16.889501379Z","updated_at":"2026-11-02T15:49:40.103088Z"}]}}
