CVE-2026-84270
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.
Am I affected?
Sign in and add the software you use to your watchlist: we check it against every new vulnerability.
Show me how to fix itTimeline
- Published by NVD
- First covered by RedTeamDaily
- Last updated by NVD
Coverage
Ubuntu publishes fixes for three GVfs vulnerabilities in SFTP, AFP and MTP handling
Ubuntu security notice USN-8970-1 covers three GVfs vulnerabilities. CVE-2026-84267 involves improper validation of data returned by an SFTP server and could lead to information disclosure, while CVE-2026-84269 (AFP reply sizes) and CVE-2026-84270 (MTP device data sizes) could cause denial of service. Administrators should apply the updated packages on affected Ubuntu systems.
Sources: NVD and CISA known exploited vulnerabilities catalogue.