Description
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.
References10
- access.redhat.com/errata/RHSA-2026:73997
- access.redhat.com/errata/RHSA-2026:73998
- access.redhat.com/errata/RHSA-2026:74370
- access.redhat.com/errata/RHSA-2026:85939
- access.redhat.com/errata/RHSA-2026:85940
- access.redhat.com/errata/RHSA-2026:85941
- access.redhat.com/errata/RHSA-2026:85942
- access.redhat.com/errata/RHSA-2026:85943
- access.redhat.com/errata/RHSA-2026:85944
- access.redhat.com/errata/RHSA-2026:85945
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 50 · as of 8 November 2026
- CWE
- CWE-122
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.