# CVE-2026-84270: Gvfs: mtp: out-of-bounds read in do_read()

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-09-01T15:19:14.312Z
- Modified: 2026-11-24T22:18:56.233Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- gvfs: before 1.60.2

## References

- <https://access.redhat.com/security/cve/CVE-2026-84270> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2526794> (issue-tracking)
- <https://gitlab.gnome.org/GNOME/gvfs/-/issues/864>

## Sources

- CVE List: [CVE-2026-84270](https://www.cve.org/CVERecord?id=CVE-2026-84270), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-84270](https://nvd.nist.gov/vuln/detail/CVE-2026-84270), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-84270 · Whole record: https://cve.day/CVE-2026-84270.json · Rebuilt by cve.day 2026-11-25T22:59:35.986Z
