# CVE-2026-84267: Gvfs: sftp: uninitialized heap disclosure in read_string()

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-01T15:19:04.190Z
- Modified: 2026-11-24T22:18:55.933Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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).

(As written by CVE List.)

## Affected

- gvfs: from 1.10.0 before 1.60.2

## References

- <https://gitlab.gnome.org/GNOME/gvfs/-/issues/861> (exploit)
- <https://access.redhat.com/security/cve/CVE-2026-84267> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2526466> (issue-tracking)

## Sources

- CVE List: [CVE-2026-84267](https://www.cve.org/CVERecord?id=CVE-2026-84267), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-84267](https://nvd.nist.gov/vuln/detail/CVE-2026-84267), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-84267 · Whole record: https://cve.day/CVE-2026-84267.json · Rebuilt by cve.day 2026-11-25T22:59:35.985Z
