Bug 2526947 - CVE-2026-84270 gvfs: MTP: out-of-bounds read in do_read() [fedora-all]
Summary: CVE-2026-84270 gvfs: MTP: out-of-bounds read in do_read() [fedora-all]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Adrian Vovk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["408fb24b-bb7f-4206-a4a8-a...
Depends On:
Blocks: CVE-2026-84270
TreeView+ depends on / blocked
 
Reported: 2026-09-01 17:44 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-09-03 00:59 UTC (History)
3 users (show)

Fixed In Version: gvfs-1.58.4-4.fc43
Clone Of:
Environment:
Last Closed: 2026-09-03 00:59:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gvfs issues 864 0 None closed (CVE-2026-84270) Out of bounds read in gvfsbackendmtp.c do_read() 2026-09-01 22:41:52 UTC

Description Guilherme de Almeida Suckevicz 2026-09-01 17:44:03 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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. This vulnerability affects all gvfs versions and is fixed in version 1.60.2.

Comment 1 Adrian Vovk 2026-09-01 22:41:53 UTC
This CVE is already fixed in f44 (1.60.2), f45 (1.61.91), and rawhide (1.61.91)

Fix will need to be backported to f43

Comment 2 Fedora Update System 2026-09-01 23:32:18 UTC
FEDORA-2026-571b7e1505 (gvfs-1.58.4-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-571b7e1505

Comment 3 Fedora Update System 2026-09-02 02:04:04 UTC
FEDORA-2026-571b7e1505 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-571b7e1505`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-571b7e1505

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-09-03 00:59:13 UTC
FEDORA-2026-571b7e1505 (gvfs-1.58.4-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.