Vulnerability · Published Sep 1, 2026 · Assigned by redhat
CVE-2026-84270Gvfs: mtp: out-of-bounds read in do_read()
Medium 4.3
In plain English
A medium-severity out-of-bounds read in gvfs from GNOME. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gvfs | no fix listed | DEBIAN-CVE-2026-84270 |
| Debian:13 | gvfs | no fix listed | DEBIAN-CVE-2026-84270 |
| Debian:14 | gvfs | 1.62.0-1 | DEBIAN-CVE-2026-84270 |
| Ubuntu:22.04:LTS | gvfs | 1.48.2-0ubuntu1.3 | UBUNTU-CVE-2026-84270 |
| Ubuntu:24.04:LTS | gvfs | 1.54.4-0ubuntu1~24.04.5 | UBUNTU-CVE-2026-84270 |
| Ubuntu:26.04:LTS | gvfs | 1.60.0-1ubuntu0.2 | UBUNTU-CVE-2026-84270 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GNOME | gvfs | 0 – before 1.60.2 |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-84270 vdb-entry, x_refsource_REDHAT
- RHBZ#2526794 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gvfs/-/issues/864