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

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.06%, higher than 87% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-03-26T06:21:12.735Z
- Modified: 2026-06-17T10:57:09.993Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: freebsd

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

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.0-RELEASE before p5; from 14.4-RELEASE before p1; from 14.3-RELEASE before p10; from 13.5-RELEASE before p11; 13.5; 14.3; 14.4; 15.0

## References

- <https://github.com/califio/publications/blob/main/MADBugs/CVE-2026-4747/exploit.py> (exploit)
- <https://github.com/califio/publications/tree/main/MADBugs/CVE-2026-4747> (exploit, third-party-advisory)
- <https://security.freebsd.org/advisories/FreeBSD-SA-26:08.rpcsec_gss.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-4747](https://www.cve.org/CVERecord?id=CVE-2026-4747), CVE Terms of Use, modified 2026-04-02
- NVD: [CVE-2026-4747](https://nvd.nist.gov/vuln/detail/CVE-2026-4747), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4747 · Whole record: https://cve.day/CVE-2026-4747.json · Rebuilt by cve.day 2026-11-25T22:59:17.004Z
