CVE-2026-84270
Gvfs: mtp: out-of-bounds read in do_read()
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| gvfsGNOME | affected: 0 to < 1.60.2 | See vendor advisory |
| gvfsRed Hat | Default status: affected | See vendor advisory |
| gvfsRed Hat | Default status: unknown | See vendor advisory |
| gvfsRed Hat | Default status: affected | See vendor advisory |
| gvfsRed Hat | Default status: affected | See vendor advisory |
| gvfsRed Hat | Default status: affected | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.