Out-of-bounds Read Affecting gvfs-gphoto2 package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.22% (11th 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 IDSNYK-CENTOS8-GVFSGPHOTO2-19739213
  • published13 Sept 2026
  • disclosed3 Aug 2026

Introduced: 3 Aug 2026

CVE-2026-84270  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 gvfs-gphoto2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gvfs-gphoto2 package and not the gvfs-gphoto2 package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

A flaw was found in the MTP backend in gvfs. When reading a file from a mounted MTP device, do_read() in gvfsbackendmtp.c trusts the data length returned by the device without limiting it to the original size requested by the client. If a malicious MTP device responds with more bytes than requested, this unrestricted length is passed directly to memcpy(). This causes the operation to read memory outside the intended boundaries. This allows an attacker who plugs in a malicious MTP device to cause a segmentation fault when a file is read and crash the gvfsd-mtp process, resulting in a denial of service.

CVSS Base Scores

version 3.1