Bug 2526794 (CVE-2026-84270) - CVE-2026-84270 gvfs: MTP: out-of-bounds read in do_read()
Summary: CVE-2026-84270 gvfs: MTP: out-of-bounds read in do_read()
Keywords:
Status: NEW
Alias: CVE-2026-84270
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2526947
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-01 13:36 UTC by OSIDB Bzimport
Modified: 2026-09-01 17:44 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-01 13:36:36 UTC
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. This vulnerability affects all gvfs versions and is fixed in version 1.60.2.


Note You need to log in before you can comment on or make changes to this bug.