Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-84270 EUVD-2026-69298GHSA-2rh6-86rx-p849

Gvfs: mtp: out-of-bounds read in do_read()

Published Sep 1, 2026 · Updated Nov 6, 2026 · 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 products

VendorProductAffectedFixed
GNOME gvfs < 1.60.2 1.60.2
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gvfs 1.62.0-1 —
Debian 13 gvfs No fix yet —
Debian 12 gvfs No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS gvfs 1.60.0-1ubuntu0.2 —
Ubuntu 24.04 LTS gvfs 1.54.4-0ubuntu1~24.04.5 —
Ubuntu 22.04 LTS gvfs 1.48.2-0ubuntu1.3 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS gvfs No fix yet —
Ubuntu Pro 18.04 LTS gvfs No fix yet —
Ubuntu Pro 16.04 LTS gvfs No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 gvfs 1.52.2-150600.3.9.1 SUSE-SU-2026:4240-1
SLES 15 SP6 gvfs 1.52.2-150600.3.9.1 SUSE-SU-2026:4240-1
SLES 15 SP5 gvfs 1.48.2-150400.4.15.1 SUSE-SU-2026:4238-1
SLES 15 SP4 gvfs 1.48.2-150400.4.15.1 SUSE-SU-2026:4238-1
SLES 12 SP5 gvfs 1.28.3-18.12.1 SUSE-SU-2026:4200-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 gvfs 1.52.2-150600.3.9.1 SUSE-SU-2026:4240-1
SLES for SAP 15 SP5 gvfs 1.48.2-150400.4.15.1 SUSE-SU-2026:4238-1
SLES for SAP 15 SP4 gvfs 1.48.2-150400.4.15.1 SUSE-SU-2026:4238-1
SLE HPC 15 SP5 gvfs 1.48.2-150400.4.15.1 SUSE-SU-2026:4238-1
SLE HPC 15 SP4 gvfs 1.48.2-150400.4.15.1 SUSE-SU-2026:4238-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gvfs 1.60.3-1.1 openSUSE-SU-2026:11788-1
openSUSE Leap 16.0 gvfs 1.59.90-160000.3.1 openSUSE-SU-2026:21875-1

Advisories 5

References