# CVE-2026-84270: Gvfs: mtp: out-of-bounds read in do\_read()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.1, CNA) `CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Physical; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-09-01T15:19:14.312Z
- **Modified:** 2026-11-24T22:18:56.233Z

## Who should check

- Anyone running GNOME gvfs \< 1.60.2
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 6 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 7 all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions

## 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 and fixed versions

- GNOME gvfs: \< 1.60.2 (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 7: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)

## Mitigation

- Upgrade gvfs to 1.60.2 or later.
- Vendor workaround: To mitigate this vulnerability, do not connect untrusted or unknown MTP devices to the system.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-84270. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-84270.md
Affected: GNOME gvfs < 1.60.2; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions
Fixed in: GNOME gvfs 1.60.2

Steps:
1. Search this machine and project for GNOME gvfs, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-84270 being exploited?

There is no confirmed exploitation: CVE-2026-84270 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-84270?

Medium: CVSS 4.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-84270?

GNOME gvfs \< 1.60.2; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions.

### Is there a fix for CVE-2026-84270?

Yes. Fixed in GNOME gvfs 1.60.2. Upgrade gvfs to 1.60.2 or later. Vendor workaround: To mitigate this vulnerability, do not connect untrusted or unknown MTP devices to the system.

### How do I check if I'm affected by CVE-2026-84270?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://access.redhat.com/security/cve/CVE-2026-84270>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2526794>
- other: <https://gitlab.gnome.org/GNOME/gvfs/-/issues/864>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-84270>

HTML: <https://flawdb.com/CVE-2026-84270> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-84270>
