Integer Overflow or Wraparound Affecting libgphoto2 package, versions *


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-LIBGPHOTO2-1377192
  • published26 Jul 2021
  • disclosed16 Mar 2017

Introduced: 16 Mar 2017

CVE-2017-9831  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 libgphoto2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgphoto2 package and not the libgphoto2 package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.