Description
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).
Published: 2026-09-01
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information disclosure via heap memory leak
Action: Apply Workaround
AI Analysis

Impact

A flaw in the gvfs SFTP backend allows a malicious server to trigger the client to use uninitialized heap memory as a file handle. The client then echoes these garbage bytes back to the server on subsequent requests, enabling the attacker to deterministically read portions of the gvfsd-sftp process’s heap. With 128‐byte reads the attacker can expose the process’s heap base and the load address of the libgio library, defeating ASLR and exposing sensitive memory contents.

Affected Systems

The vulnerability affects the gvfs component shipped with Red Hat Enterprise Linux versions 6 through 10. Any system running these RHEL releases that uses gvfs to connect to SFTP servers is impacted. Specific gvfs versions are not listed, so all bundled builds within these OS releases are considered at risk.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity. Exploit probability is unknown because EPSS data is unavailable, and the CVE is not listed in the CISA KEV catalog. Likely exploitation requires an attacker to operate an untrusted SFTP server that a gvfs client connects to, making the threat most relevant in environments where users routinely mount remote SFTP shares over insecure or uncontrolled networks. The absence of a patch means the only mitigations are to avoid untrusted connections and to apply later vendor updates when available.

Generated by OpenCVE AI on September 2, 2026 at 03:07 UTC.

Remediation

Vendor Workaround

To mitigate this vulnerability, do not connect to untrusted SFTP servers.


OpenCVE Recommended Actions

  • Avoid connecting to untrusted SFTP servers; configure network policies or firewall rules to block unknown or rogue SFTP endpoints.
  • Deploy the latest gvfs update that contains the fix as soon as it becomes available from Red Hat.
  • If an update cannot be applied, isolate gvfsd‑sftp in a restricted sandbox or monitor its memory activity for anomalous reads that could indicate exploitation.

Generated by OpenCVE AI on September 2, 2026 at 03:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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).
Title Gvfs: sftp: uninitialized heap disclosure in read_string()
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-908
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-02T13:06:37.846Z

Reserved: 2026-09-01T14:05:54.144Z

Link: CVE-2026-84267

cve-icon Vulnrichment

Updated: 2026-09-01T15:50:35.707Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-01T16:17:37.007

Modified: 2026-09-02T13:18:14.300

Link: CVE-2026-84267

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T16:27:48Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource