CVE-2026-84270

Gvfs: mtp: out-of-bounds read in do_read()

Published Sep 1, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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

Source ID Title
Ubuntu USN Ubuntu USN USN-8970-1 GVfs vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
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
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 1:05 AM
Reserved
Sep 1, 2026, 2:05 PM
Status
Awaiting Analysis
Published
Sep 1, 2026, 4:17 PM
Modified
Nov 6, 2026, 1:17 AM