CVEfocus › CVE database › CVE-2026-84270

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

CVSS 4.3 MediumEPSS 0.2% (higher than 7% of CVEs)Published 2026-09-01Updated 2026-11-24Assigner: redhat

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.

CWE-125

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
43Fix pending
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gvfsFixed1.60.0-1ubuntu0.2UBUNTU-CVE-2026-84270
Ubuntu 24.04gvfsFixed1.54.4-0ubuntu1~24.04.5UBUNTU-CVE-2026-84270
Ubuntu 22.04gvfsFixed1.48.2-0ubuntu1.3UBUNTU-CVE-2026-84270
Ubuntu 20.04gvfsFix pendingUBUNTU-CVE-2026-84270
Ubuntu 18.04gvfsFix pendingUBUNTU-CVE-2026-84270
Ubuntu 16.04gvfsFix pendingUBUNTU-CVE-2026-84270
Debian 14gvfsFixed1.62.0-1DEBIAN-CVE-2026-84270
Debian 13gvfsFix pendingDEBIAN-CVE-2026-84270
Debian 12gvfsFix pendingDEBIAN-CVE-2026-84270
Red Hat Enterprise Linux 10gvfsFix pending
Fix deferred
Red Hat Enterprise Linux 10gvfs-clientFix pending
Fix deferred
Red Hat Enterprise Linux 10gvfs-fuseFix pending
Fix deferred
Red Hat Enterprise Linux 10gvfs-goaFix pending
Fix deferred
Red Hat Enterprise Linux 10gvfs-gphoto2Fix pending
Fix deferred
Red Hat Enterprise Linux 10gvfs-mtpFix pending
Fix deferred
Red Hat Enterprise Linux 10gvfs-smbFix pending
Fix deferred
Red Hat Enterprise Linux 9gvfsFix pending
Fix deferred
Red Hat Enterprise Linux 9gvfs-clientFix pending
Fix deferred
Red Hat Enterprise Linux 9gvfs-develFix pending
Fix deferred
Red Hat Enterprise Linux 9gvfs-fuseFix pending
Fix deferred
Red Hat Enterprise Linux 9gvfs-goaFix pending
Fix deferred
Red Hat Enterprise Linux 9gvfs-gphoto2Fix pending
Fix deferred
Red Hat Enterprise Linux 9gvfs-mtpFix pending
Fix deferred
Red Hat Enterprise Linux 9gvfs-smbFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfsFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-afcFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-afpFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-archiveFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-clientFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-develFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-fuseFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-goaFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-gphoto2Fix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-mtpFix pending
Fix deferred
Red Hat Enterprise Linux 8gvfs-smbFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfsFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-afcFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-afpFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-archiveFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-clientFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-develFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-fuseFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-goaFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-gphoto2Fix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-mtpFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-smbFix pending
Fix deferred
Red Hat Enterprise Linux 7gvfs-testsFix pending
Fix deferred
Red Hat Enterprise Linux 6gvfsWill not fix
Out of support scope
Red Hat Enterprise Linux 6gvfs-afcWill not fix
Out of support scope
Red Hat Enterprise Linux 6gvfs-archiveWill not fix
Out of support scope
Red Hat Enterprise Linux 6gvfs-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6gvfs-fuseWill not fix
Out of support scope
Red Hat Enterprise Linux 6gvfs-gphoto2Will not fix
Out of support scope
Red Hat Enterprise Linux 6gvfs-obexftpWill not fix
Out of support scope
Red Hat Enterprise Linux 6gvfs-smbWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To mitigate this vulnerability, do not connect untrusted or unknown MTP devices to the system.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.