Bug 2526943 - CVE-2026-84267 gvfs: SFTP: uninitialized heap disclosure in read_string() [fedora-all]
Summary: CVE-2026-84267 gvfs: SFTP: uninitialized heap disclosure in read_string() [fe...
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": ["5b28836f-2efd-4347-b8af-f...
Depends On:
Blocks: CVE-2026-84267
TreeView+ depends on / blocked
 
Reported: 2026-09-01 17:43 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:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gvfs issues 861 0 None closed (CVE-2026-84267) gvfs SFTP backend: uninitialised heap disclosure in read_string() (info leak / ASLR defeat) 2026-09-01 22:45:10 UTC

Description Guilherme de Almeida Suckevicz 2026-09-01 17:43:29 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 SFTP backend in gvfs. When mounting a share, a malicious SFTP server can cause read_string() to allocate a buffer with a certain length but the function does not verify that the buffer is completely filled, leaving the remainder of the buffer containing uninitialized heap contents. If the server sends a short FXP_HANDLE reply, these uninitialized bytes are taken as the file handle. The client will then echo these uninitialized bytes back to the server on all subsequent requests using that handle. With a length of 128 bytes, this issue allows the malicious server to deterministically read uninitialized heap memory from the gvfsd-sftp process, leaking its heap base and the load address of the libgio library, resulting in a deterministic defeat of Address Space Layout Randomization (ASLR). This vulnerability affects gvfs versions 1.10.0 and newer and is fixed in version 1.60.2.

Comment 1 Adrian Vovk 2026-09-01 22:45:11 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:08 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:03:57 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:03 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.