CVE-2026-84267
JSON

4.3medium

Gvfs: sftp: uninitialized heap disclosure in read_string()

Severity
4.3medium CVSS:3.1 by redhat
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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).

Affected

Product or packageVersionsReported by
gvfsfrom 1.10.0 before 1.60.2CVE List

Classification

CWE-908

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-84267 changed 2026-11-24CVE Terms of Use
NVDCVE-2026-84267 changed 2026-11-24Public domain