LiveActive security incident?Get immediate response
CVE Record

CVE-2017-9831: An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of lib...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2017-9831 affects libmtp, software used by computers to communicate with media and mobile devices. A malicious or specially crafted mobile device connected by USB could crash the software through out-of-bounds memory access, with possible but unconfirmed code execution impact. The main business concern is untrusted USB device exposure on workstations, kiosks, and support systems.

Executive priority

Treat this as a targeted endpoint hygiene issue, not an internet emergency. Prioritize systems that handle public, customer, lab, or unknown USB devices, especially unattended kiosks and shared workstations.

Technical view

The issue is an integer overflow in libmtp 1.1.12 and earlier, in ptp_unpack_EOS_CustomFuncEx within ptp-pack.c. The CVE description links exploitation to inserting a mobile device into a PC over USB. Documented impact is denial of service from out-of-bounds memory access; remote code execution is described only as possible, not confirmed by the supplied sources.

Likely exposure

Exposure is most likely where Linux desktops, kiosks, lab systems, or support workstations run vulnerable libmtp packages and accept mobile or MTP devices over USB. Internet-facing exposure is not indicated by the provided sources.

Exploitation context

The supplied sources do not show active exploitation, and the CVE is not listed as KEV. Exploitation appears to require a malicious or crafted mobile device connected by USB. The evidence supports denial of service; code execution remains uncertain in the provided record.

Researcher notes

The source bundle lacks CVSS, CWE mapping, fixed upstream commit details, and proof of code execution. Debian published a 2020 LTS security update for libmtp. Avoid expanding affected products beyond libmtp 1.1.12 and earlier without vendor confirmation.

Mitigation direction

  • Update libmtp using vendor or distribution security packages.
  • Ensure libmtp is newer than 1.1.12 where applicable.
  • Restrict untrusted USB and mobile device connections.
  • Disable automatic handling of MTP devices where not needed.
  • Follow current vendor guidance for supported platforms.

Validation and detection

  • Inventory systems with libmtp installed.
  • Check installed libmtp versions against 1.1.12 and earlier.
  • Review Debian or vendor advisories for fixed package versions.
  • Identify endpoints that allow untrusted USB mobile devices.
  • Confirm updated packages are deployed through endpoint management.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-9831 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.