CVE-2026-84268
Gvfs: sftp: heap-based buffer overflow in read_reply()
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| gvfsGNOME | affected: 0 to < 1.60.2 | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.54.4-4.el10_2.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.54.4-2.el10_0.2 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.36.2-7.el7_9.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.36.2-22.el8_10 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.36.2-11.el8_4.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.36.2-11.el8_4.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.36.2-11.el8_6.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.36.2-11.el8_6.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.36.2-14.el8_8.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.36.2-14.el8_8.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.48.1-8.el9_8.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.48.1-4.el9_2.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.48.1-4.el9_4.1 to < * | See vendor advisory |
| gvfsRed Hat | unaffected: 0:1.48.1-6.el9_6.1 to < * | See vendor advisory |
| gvfsRed Hat | Default status: unknown | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-84268
- https://access.redhat.com/errata/RHSA-2026:73997
- https://access.redhat.com/errata/RHSA-2026:73998
- https://access.redhat.com/errata/RHSA-2026:74370
- https://access.redhat.com/errata/RHSA-2026:85939
- https://access.redhat.com/errata/RHSA-2026:85940
- https://access.redhat.com/errata/RHSA-2026:85941
- https://access.redhat.com/errata/RHSA-2026:85942
- https://access.redhat.com/errata/RHSA-2026:85943
- https://access.redhat.com/errata/RHSA-2026:85944
- https://access.redhat.com/errata/RHSA-2026:85945
- https://access.redhat.com/errata/RHSA-2026:86606
- https://access.redhat.com/security/cve/CVE-2026-84268
- https://bugzilla.redhat.com/show_bug.cgi?id=2526485
- https://gitlab.gnome.org/GNOME/gvfs/-/issues/862