bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-84268

8.8high

gvfs1.48.1in 4 of 4 releases

Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.

Reach gvfs · 4 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

v25.03.11.48.1
v26.01.01.48.1
v26.09.01.48.1
v26.10.0latest1.48.1
aarch64_minimal
x86_64
aarch64_minimal–
x86_64ANot affected · auto
aarch64_minimal–
x86_64ANot affected · auto
aarch64_minimal–
x86_64ANot affected · auto
aarch64_minimal–
x86_64ANot affected

Description · NVD

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.

Published 2026-09-01NVD

CVSS 3.1Network · no privileges · user interaction

How it is reached

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required

What it costs

Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References 16
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-20 · settles 4 of 4

Fable 5.2 · high confidence · 2026-11-19

The CVE is in the gvfs SFTP backend (read_reply() in daemon/gvfsbackendsftp.c, which becomes the gvfsd-sftp daemon). Buildroot unconditionally configures gvfs with -Dsftp=false, so that source file is never compiled and no gvfsd-sftp binary or sftp.mount file exists in the build directory or the target rootfs.

The unfixed code is present in the unpacked source (read_reply() copies a server-supplied count into the job buffer without a bounds check), and the one applied patch is unrelated, but none of it reaches the image. The finding can be documented as not applicable.

Evidence 10
  1. `GVFS_CONF_OPTS` hard-codes `-Dsftp=false`, with no Kconfig option that could turn it on.

    buildroot/package/gvfs/gvfs.mk:32

  2. The actual meson invocation for this build includes `-Dsftp=false`; the option summary at lines 1795 and 1843 reports `sftp : false`.

    output/build/gvfs-1.48.1/buildroot-build/meson-logs/meson-log.txt:3

  3. `gvfsbackendsftp.c`, the `gvfsd-sftp` program and the `sftp` mount are only added inside `if enable_sftp`.

    output/build/gvfs-1.48.1/daemon/meson.build:243-263

  4. `enable_sftp = get_option('sftp')`, so the option is the only gate for the backend.

    output/build/gvfs-1.48.1/meson.build:458

  5. Zero matches for `gvfsbackendsftp` or `gvfsd-sftp` (also zero in `compile_commands.json`): there is no build rule for the affected file.

    output/build/gvfs-1.48.1/buildroot-build/build.ninja

  6. Built daemons are `gvfsd`, `gvfsd-afp`, `gvfsd-afp-browse`, `gvfsd-burn`, `gvfsd-computer`, `gvfsd-dnssd`, `gvfsd-ftp`, `gvfsd-localtest`, `gvfsd-network`, `gvfsd-recent` and `gvfsd-trash`; there is no `gvfsd-sftp` and no `sftp.mount`.

    output/build/gvfs-1.48.1/buildroot-build/daemon/

  7. The installed gvfs daemons match the list above with no `gvfsd-sftp`; the only `sftp` files in `output/target` belong to OpenSSH (`usr/bin/sftp`, `usr/libexec/sftp-server`).

    output/target/usr/libexec/

  8. The uncompiled source is unfixed: `count` is read from the server reply and passed to `g_input_stream_read_all()` into `G_VFS_JOB_READ (job)->buffer` without comparison to the requested size.

    output/build/gvfs-1.48.1/daemon/gvfsbackendsftp.c:2859-2863 (read_reply)

  9. The only applied patch is `0001-build-Remove-incorrect-i18n.merge_file-argument.patch`, a build fix unrelated to the CVE.

    output/build/gvfs-1.48.1/.applied_patches_list

  10. `BR2_PACKAGE_GVFS=y`: the package itself is selected for the target image.

    output/.config:1312

Version and patches

gvfs 1.48.1 contains the unfixed read_reply() in its source and no applied patch addresses the CVE, so the version match itself is plausible. I could not confirm the affected range or fixed version: the upstream advisories are not available offline and NVD is still awaiting analysis. The build is not affected because the SFTP backend is disabled at configure time (-Dsftp=false) and never compiled.

Recommendation

Document as not applicable: the SFTP backend is not compiled into this build, so no upgrade or backport is needed for this CVE.

Re-evaluate if buildroot/package/gvfs/gvfs.mk ever changes to -Dsftp=true, for example after a Buildroot bump.

Open questions

The upstream fixed version and fix commit were not checked, as there was no network access; this does not change the verdict.

One of my combined shell commands was denied by the sandbox. I re-ran its checks as separate read-only commands, except two: I did not grep configs/x86_64_defconfig for gvfs, and I did not identify which package selects BR2_PACKAGE_GVFS. Neither affects the verdict.

Members of Kernel Kit decide. Sign in if you are one.