CVE-2026-84270
4.3medium
Gvfs: mtp: out-of-bounds read in do_read()
- Severity
- 4.3medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.16% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gvfs | before 1.60.2 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-84270 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2026-84270 changed 2026-11-24 | Public domain |