CVE-2026-84267Gvfs: sftp: uninitialized heap disclosure in read_string()
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).
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | gvfs | Fixed | 1.60.0-1ubuntu0.2 | UBUNTU-CVE-2026-84267 |
| Ubuntu 24.04 | gvfs | Fixed | 1.54.4-0ubuntu1~24.04.5 | UBUNTU-CVE-2026-84267 |
| Ubuntu 22.04 | gvfs | Fixed | 1.48.2-0ubuntu1.3 | UBUNTU-CVE-2026-84267 |
| Ubuntu 20.04 | gvfs | Fix pending | UBUNTU-CVE-2026-84267 | |
| Ubuntu 18.04 | gvfs | Fix pending | UBUNTU-CVE-2026-84267 | |
| Ubuntu 16.04 | gvfs | Fix pending | UBUNTU-CVE-2026-84267 | |
| Debian 14 | gvfs | Fixed | 1.62.0-1 | DEBIAN-CVE-2026-84267 |
| Debian 13 | gvfs | Fix pending | DEBIAN-CVE-2026-84267 | |
| Debian 12 | gvfs | Fix pending | DEBIAN-CVE-2026-84267 | |
| Red Hat Enterprise Linux 10 | gvfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvfs-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvfs-fuse | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvfs-goa | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvfs-gphoto2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvfs-mtp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvfs-smb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvfs-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvfs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvfs-fuse | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvfs-goa | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvfs-gphoto2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvfs-mtp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvfs-smb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-afc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-afp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-archive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-fuse | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-goa | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-gphoto2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-mtp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gvfs-smb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-afc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-afp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-archive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-fuse | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-goa | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-gphoto2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-mtp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-smb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gvfs-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | gvfs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gvfs-afc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gvfs-archive | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gvfs-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gvfs-fuse | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gvfs-gphoto2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gvfs-obexftp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gvfs-smb | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GNOME gvfs: affected: 1.10.0 to before 1.60.2; fixed in
1.60.2 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Workaround: To mitigate this vulnerability, do not connect to untrusted SFTP servers.
References
- https://access.redhat.com/security/cve/CVE-2026-84267
- https://bugzilla.redhat.com/show_bug.cgi?id=2526466
- https://gitlab.gnome.org/GNOME/gvfs/-/issues/861
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.