CVE-2026-84268
Gvfs: sftp: heap-based buffer overflow in read_reply()
HIGH 8.8
At a glance
- Source
- NVD
- EPSS
- EPSS 0.62 % · percentile 50 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
- CWE-122 — Heap-based Buffer Overflow
References
- 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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-69287
- GCVE · GCVE-0-2026-84268
Affected products
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |