What’s Vulnerable › Vulnerabilities
CVE-2026-84270: Gvfs: mtp: out-of-bounds read in do_read()
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-01 · updated 2026-09-02
- Weakness: CWE-125
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
- GNOME gvfs: before 1.60.2 — fixed in 1.60.2
- Red Hat Enterprise Linux 10: all versions
- Red Hat Enterprise Linux 7: all versions
- Red Hat Enterprise Linux 8: all versions
- Red Hat Enterprise Linux 9: all versions
How to fix
Upgrade to a fixed version: GNOME gvfs 1.60.2. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/security/cve/CVE-2026-84270
- https://bugzilla.redhat.com/show_bug.cgi?id=2526794
- https://gitlab.gnome.org/GNOME/gvfs/-/issues/864
Get alerted when CVE-2026-84270 or the next vulnerability affects your stack