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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gvfs | 1.62.0-1 | — |
| Debian 13 | gvfs | No fix yet | — |
| Debian 12 | gvfs | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- openSUSE-SU-2026:21875-1 Security update for gvfs SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4238-1 Security update for gvfs SUSE / openSUSE Security Updates · Sep 17, 2026
- SUSE-SU-2026:4240-1 Security update for gvfs SUSE / openSUSE Security Updates · Sep 17, 2026
- SUSE-SU-2026:4200-1 Security update for gvfs SUSE / openSUSE Security Updates · Sep 16, 2026
- openSUSE-SU-2026:11788-1 gvfs-1.60.3-1.1 on GA media SUSE / openSUSE Security Updates · Sep 16, 2026