CVE-2017-9831: An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp
CVE-2017-9831 is a medium-severity flaw (CVSS 6.8) affecting libmtp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.8 (Medium) |
| Attack vector | Physical |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.9% (top 42%) |
| CISA exploited list | No |
| Weakness | CWE-190 |
| Published | 2017-06-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-9831?
libmtp: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-9831 being exploited?
CVE-2017-9831 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-9831 affect?
CVE-2017-9831 affects libmtp. Severity is medium (CVSS 6.8). 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 execu
How urgent is CVE-2017-9831?
Priority 38/100. No elevated risk signals yet.
Related CVEs
- CVE-2017-9832 MEDIUM 6.8 UPGRADE An integer overflow vulnerability in ptp-pack.c (ptp_unpack_OPL function) of libmtp (version 1.1.12 and below)