Description
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.
Published: 2026-09-01
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Mitigation
AI Analysis

Impact

A flaw in the MTP backend of gvfs allows an attacker who connects a malicious MTP device to supply a data length larger than requested during a file read operation. The backend trusts the device’s length when calling memcpy(), causing an out‑of‑bounds read and producing a segmentation fault in the gvfsd-mtp process. This results in a denial of service for any application relying on gvfs to access MTP devices.

Affected Systems

Red Hat Enterprise Linux 10, 6, 7, 8, and 9 are affected. No specific package version information is listed, so all released gvfs versions on these distributions may be vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting low exploitation likelihood in the wild. Attackers would need physical or local access to plug a malicious MTP device; the vulnerability primarily causes a crash of gvfsd-mtp, denying services that depend on that daemon. No active exploitation reports are known.

Generated by OpenCVE AI on September 2, 2026 at 03:04 UTC.

Remediation

Vendor Workaround

To mitigate this vulnerability, do not connect untrusted or unknown MTP devices to the system.


OpenCVE Recommended Actions

  • Refrain from connecting any untrusted or unknown MTP devices to the system to avoid triggering the crash.
  • Configure the system to automatically restart gvfsd-mtp or monitor its status, ensuring continued availability of services that depend on it.
  • When a vendor patch becomes available, upgrade the gvfs package to the fixed version immediately.

Generated by OpenCVE AI on September 2, 2026 at 03:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Gvfs: mtp: out-of-bounds read in do_read()
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-125
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-02T13:37:10.071Z

Reserved: 2026-09-01T14:05:54.145Z

Link: CVE-2026-84270

cve-icon Vulnrichment

Updated: 2026-09-01T17:28:34.276Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-01T16:17:37.817

Modified: 2026-09-02T14:17:16.393

Link: CVE-2026-84270

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T16:27:44Z

Weaknesses