GNOME Gvfs
Gvfs: sftp: heap-based buffer overflow in read_reply()
A flaw was found in the SFTP backend in gvfs. When mounting a share and reading a file, a malicious SFTP server can cause read_reply() to process a length that exceeds the size requested by the client. The function does not verify the server-provided length against the allocated buffer size, causing the operation to write past the intended boundaries. This issue allows a malicious server to corrupt adjacent heap memory in the gvfsd-sftp process, resulting in a denial of service as the process aborts upon detecting the heap corruption or potentially allowing arbitrary code execution.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.60.2
Fixed in 1.60.2
Fixed in 0:1.54.4-4.el10_2.1
Fixed in 0:1.54.4-5.el10_3.1
Fixed in 0:1.54.4-2.el10_0.2
Fixed in 0:1.36.2-7.el7_9.1
Fixed in 0:1.36.2-22.el8_10
Fixed in 0:1.36.2-11.el8_4.1
Fixed in 0:1.36.2-11.el8_4.1
Fixed in 0:1.36.2-11.el8_6.1
Fixed in 0:1.36.2-11.el8_6.1
Fixed in 0:1.36.2-14.el8_8.1
Fixed in 0:1.36.2-14.el8_8.1
Fixed in 0:1.48.1-8.el9_8.1
Fixed in 0:1.48.1-9.el9_9.1
Fixed in 0:1.48.1-4.el9_2.1
Fixed in 0:1.48.1-4.el9_4.1
Fixed in 0:1.48.1-6.el9_6.1
Mitigation
Upgrade gvfs to 1.60.2 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:1.54.4-4.el10_2.1 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:1.54.4-5.el10_3.1 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:1.54.4-2.el10_0.2 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.36.2-7.el7_9.1 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:1.36.2-22.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:1.36.2-11.el8_4.1 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:1.36.2-11.el8_4.1 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:1.36.2-11.el8_6.1 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:1.36.2-11.el8_6.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:1.36.2-14.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:1.36.2-14.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.48.1-8.el9_8.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.48.1-9.el9_9.1 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:1.48.1-4.el9_2.1 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:1.48.1-4.el9_4.1 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:1.48.1-6.el9_6.1 or later.
Workaround
To mitigate this vulnerability, do not connect to untrusted SFTP servers.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:73997
- Vendor advisory access.redhat.com/errata/RHSA-2026:73998
- Vendor advisory access.redhat.com/errata/RHSA-2026:74370
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:85939
- Vendor advisory access.redhat.com/errata/RHSA-2026:85940
- Vendor advisory access.redhat.com/errata/RHSA-2026:85941
- Vendor advisory access.redhat.com/errata/RHSA-2026:85942
- Vendor advisory access.redhat.com/errata/RHSA-2026:85943
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.