Kernel code execution via unchecked credential copy
Published Mar 26, 2026 · Updated Mar 26, 2026
Stack-based buffer overflow in FreeBSD 13.5, 14.3, 14.4, and 15.0 allows remote authenticated users to execute kernel code through NFS. The svc_rpc_gss_validate() routine copies an attacker-controlled RPCSEC_GSS credential body into a 128-byte stack buffer without checking oa_length against the remaining space. Kernel exploitation requires kgssapi.ko to be loaded and the user to reach the NFS server; affected user-space RPC servers permit unauthenticated code execution, but none are known in the base system.
Summary
What happened
Stack-based buffer overflow in FreeBSD 13.5, 14.3, 14.4, and 15.0 allows remote authenticated users to execute kernel code through NFS. The svc_rpc_gss_validate() routine copies an attacker-controlled RPCSEC_GSS credential body into a 128-byte stack buffer without checking oa_length against the remaining space. Kernel exploitation requires kgssapi.ko to be loaded and the user to reach the NFS server; affected user-space RPC servers permit unauthenticated code execution, but none are known in the base system.
The record
- CVE
- CVE-2026-4747
- Published
- Mar 26, 2026
- Updated
- Mar 26, 2026
- Vendor
- The FreeBSD Project
- Product
- FreeBSD
- Classifications
- CWE-121, T1210
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 26, 2026CVE publishedPublication date reported by the CVE source.
- Mar 26, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=13.5-RELEASE <p11
- Affected versionversion=14.3-RELEASE <p10
- Affected versionversion=14.4-RELEASE <p1
- Affected versionversion=15.0-RELEASE <p5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- FreeBSD RPCSEC_GSS remote kernel RCE exploitweaponized · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo