Bug 2526947

Summary: CVE-2026-84270 gvfs: MTP: out-of-bounds read in do_read() [fedora-all]
Product: [Fedora] Fedora Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: gvfsAssignee: Adrian Vovk <avovk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: avovk, gnome-sig, oholy
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["408fb24b-bb7f-4206-a4a8-ae71017a8521"]}
Fixed In Version: gvfs-1.58.4-4.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-03 00:59:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2526794    

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.