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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GNOME | gvfs | 1.10.0 – < 1.60.2 | 1.60.2 |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gvfs | 1.62.0-1 | — |
| Debian 13 | gvfs | No fix yet | — |
| Debian 12 | gvfs | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | gvfs | 1.60.0-1ubuntu0.2 | — |
| Ubuntu 24.04 LTS | gvfs | 1.54.4-0ubuntu1~24.04.5 | — |
| Ubuntu 22.04 LTS | gvfs | 1.48.2-0ubuntu1.3 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | gvfs | No fix yet | — |
| Ubuntu Pro 18.04 LTS | gvfs | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gvfs | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | gvfs | 1.52.2-150600.3.9.1 | SUSE-SU-2026:4240-1 |
| SLES 15 SP6 | gvfs | 1.52.2-150600.3.9.1 | SUSE-SU-2026:4240-1 |
| SLES 15 SP5 | gvfs | 1.48.2-150400.4.15.1 | SUSE-SU-2026:4238-1 |
| SLES 15 SP4 | gvfs | 1.48.2-150400.4.15.1 | SUSE-SU-2026:4238-1 |
| SLES 12 SP5 | gvfs | 1.28.3-18.12.1 | SUSE-SU-2026:4200-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | gvfs | 1.52.2-150600.3.9.1 | SUSE-SU-2026:4240-1 |
| SLES for SAP 15 SP5 | gvfs | 1.48.2-150400.4.15.1 | SUSE-SU-2026:4238-1 |
| SLES for SAP 15 SP4 | gvfs | 1.48.2-150400.4.15.1 | SUSE-SU-2026:4238-1 |
| SLE HPC 15 SP5 | gvfs | 1.48.2-150400.4.15.1 | SUSE-SU-2026:4238-1 |
| SLE HPC 15 SP4 | gvfs | 1.48.2-150400.4.15.1 | SUSE-SU-2026:4238-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gvfs | 1.60.3-1.1 | openSUSE-SU-2026:11788-1 |
| openSUSE Leap 16.0 | gvfs | 1.59.90-160000.3.1 | openSUSE-SU-2026:21875-1 |
Advisories 5
- openSUSE-SU-2026:21875-1 Security update for gvfs SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4238-1 Security update for gvfs SUSE / openSUSE Security Updates · Sep 17, 2026
- SUSE-SU-2026:4240-1 Security update for gvfs SUSE / openSUSE Security Updates · Sep 17, 2026
- SUSE-SU-2026:4200-1 Security update for gvfs SUSE / openSUSE Security Updates · Sep 16, 2026
- openSUSE-SU-2026:11788-1 gvfs-1.60.3-1.1 on GA media SUSE / openSUSE Security Updates · Sep 16, 2026