{"id":"CVE-2017-9831","details":"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.","modified":"2026-11-03T02:30:53.918021135Z","published":"2017-06-24T00:29:00.180Z","database_specific":{},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/04/msg00003.html"},{"type":"FIX","url":"https://sourceforge.net/p/libmtp/mailman/message/35735992/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libmtp/libmtp","events":[{"introduced":"b14b8a0ea2371920030e84ffa0a7c2378c31f338"},{"last_affected":"b14b8a0ea2371920030e84ffa0a7c2378c31f338"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:libmtp_project:libmtp:1.1.12:*:*:*:*:*:*:*","range":[{"introduced":"1.1.12"},{"last_affected":"1.1.12"}],"source":"CPE_STRING"}]}}],"versions":["1.1.12","libmtp-1-1-12"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9831.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}