HarborGuard / CVE
Back to search
HIGHCVE-2026-4747Published Modified CNA freebsd

CVE-2026-4747: Remote code execution via RPCSEC_GSS packet validation

Each RPCSEC_GSS data packet is validated by a routine which checks a signature in the packet. This routine copies a portion of the packet into a stack buffer, but fails to ensure that the buffer is sufficiently large, and a malicious client can trigger a stack overflow. Notably, this does not require the client to authenticate itself first. As kgssapi.ko's RPCSEC_GSS implementation is vulnerable, remote code execution in the kernel is possible by an authenticated user that is able to send packets to the kernel's NFS server while kgssapi.ko is loaded into the kernel. In userspace, applications which have librpcgss_sec loaded and run an RPC server are vulnerable to remote code execution from any client able to send it packets. We are not aware of any such applications in the FreeBSD base system.

Metrics

CVSS v3.1
8.8
Severity
HIGH
Fixed in
p1
Affected Products
1

Fix available

p1p10p11p5
Affected packages
  • FreeBSD / FreeBSD
    < p5 (from 15.0-RELEASE) · < p1 (from 14.4-RELEASE) · < p10 (from 14.3-RELEASE) · < p11 (from 13.5-RELEASE)
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H