CVE-2017-9831 Integer overflow in n/a

Medium 6.8 Published Updated

An integer overflow in libmtp allows attackers to cause denial of service or potentially execute code via a malicious USB device connection.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-9831?

CVE-2017-9831 is a medium-severity vulnerability in n/a, published on 24 Jun 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-190

Which versions are affected by CVE-2017-9831?

It affects 1 product.

Products include Libmtp Project Libmtp.

How do I fix CVE-2017-9831?

Upgrade to a fixed version.

Is CVE-2017-9831 being exploited?

There is no known exploitation of CVE-2017-9831 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-9831, GHSA-g2jm-8mm3-8fg4, UBUNTU-CVE-2017-9831.

Is CVE-2017-9831 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free