Bug 2526466 (CVE-2026-84267) - CVE-2026-84267 gvfs: SFTP: uninitialized heap disclosure in read_string()
Summary: CVE-2026-84267 gvfs: SFTP: uninitialized heap disclosure in read_string()
Keywords:
Status: NEW
Alias: CVE-2026-84267
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2526943
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-31 19:02 UTC by OSIDB Bzimport
Modified: 2026-09-01 17:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-31 19:02:13 UTC
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.


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