bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-84267

4.3medium

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_64AAwaiting review
aarch64_minimal–
x86_64AAwaiting review
aarch64_minimal–
x86_64AAwaiting review
aarch64_minimal–
x86_64AAwaiting review

Description · NVD

A flaw was found in the SFTP backend in gvfs. When mounting a share, a malicious SFTP server can cause read_string() to allocate a buffer with a certain length but the function does not verify that the buffer is completely filled, leaving the remainder of the buffer containing uninitialized heap contents. If the server sends a short FXP_HANDLE reply, these uninitialized bytes are taken as the file handle. The client will then echo these uninitialized bytes back to the server on all subsequent requests using that handle. With a length of 128 bytes, this issue allows the malicious server to deterministically read uninitialized heap memory from the gvfsd-sftp process, leaking its heap base and the load address of the libgio library, resulting in a deterministic defeat of Address Space Layout Randomization (ASLR).

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
Low
Integrity
None
Availability
None
Scope
Unchanged

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

References 3
Review Av26.10.0x86_64Not affectedFable 5.2 · high confidence · 2026-11-19

The CVE is in the gvfs SFTP backend (read_string() in daemon/gvfsbackendsftp.c, built into gvfsd-sftp). Buildroot's gvfs.mk unconditionally passes -Dsftp=false, the meson log confirms sftp : false, and no gvfsd-sftp binary or sftp.mount file exists in output/target.

The unfixed read_string() is present in the 1.48.1 source tree and no applied patch touches it, so the version match is correct; the build is unaffected only because the backend is not compiled.

gvfs itself is in the image because BR2_PACKAGE_PODMAN selects it (package/podman/Config.in:47).

Evidence 9
  1. The SFTP backend is disabled unconditionally; no Buildroot option can turn it on.

    buildroot/package/gvfs/gvfs.mk (GVFS_CONF_OPTS, `-Dsftp=false`)

  2. The configured build has `sftp = false`.

    output/build/gvfs-1.48.1/buildroot-build/meson-private/cmd_line.txt:11

  3. Meson was invoked with `-Dsftp=false` and its summary reports `sftp : false`.

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

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

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

  5. `enable_sftp = get_option('sftp')`, so the option alone gates the backend.

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

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

    output/target/usr/libexec/ and output/target/usr/share/gvfs/mounts/

  7. The source still has the pattern the CVE describes: `g_malloc (len + 1)` then `g_input_stream_read_all()` with no bytes-read check. The code is unfixed but not compiled.

    output/build/gvfs-1.48.1/daemon/gvfsbackendsftp.c:763-785 (`read_string`)

  8. 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

  9. `BR2_PACKAGE_GVFS=y` is selected by `BR2_PACKAGE_PODMAN=y` rather than set in the defconfig.

    output/.config:1312; package/podman/Config.in:47; configs/x86_64_defconfig:180

Version and patches

gvfs 1.48.1 contains the unfixed read_string() in daemon/gvfsbackendsftp.c, so the NVD version match is plausible rather than a false positive. I could not consult the upstream advisory or fix commit (no network access), so the exact affected range and fixed version are not confirmed. The one applied patch (0001-build-Remove-incorrect-i18n.merge_file-argument.patch) does not address the CVE. The build is unaffected because the SFTP backend is excluded with -Dsftp=false.

Recommendation

Document as not applicable: the SFTP backend is not compiled (-Dsftp=false in buildroot/package/gvfs/gvfs.mk). No upgrade or backport is needed for this CVE.

Re-check if a future Buildroot bump changes gvfs.mk to enable sftp.

Open questions

The upstream fix commit and fixed version were not checked, because the tree has no copy of the advisory and there is no network access. This does not change the verdict, since the affected source file is not compiled.

One combined shell command was blocked by the sandbox; I got the same information from separate read-only grep and find commands, so nothing is missing.

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