{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-4747","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","state":"PUBLISHED","assignerShortName":"freebsd","dateReserved":"2026-03-24T03:57:38.500Z","datePublished":"2026-03-26T06:21:12.735Z","dateUpdated":"2026-04-02T03:55:35.253Z"},"containers":{"cna":{"datePublic":"2026-03-26T05:00:00.000Z","title":"Remote code execution via RPCSEC_GSS packet validation","references":[{"tags":["vendor-advisory"],"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:08.rpcsec_gss.asc"}],"affected":[{"defaultStatus":"unknown","modules":["rpcsec_gss"],"product":"FreeBSD","vendor":"FreeBSD","versions":[{"status":"affected","versionType":"release","version":"15.0-RELEASE","lessThan":"p5"},{"status":"affected","versionType":"release","version":"14.4-RELEASE","lessThan":"p1"},{"status":"affected","versionType":"release","version":"14.3-RELEASE","lessThan":"p10"},{"status":"affected","versionType":"release","version":"13.5-RELEASE","lessThan":"p11"}]}],"credits":[{"lang":"en","type":"finder","value":"Nicholas Carlini using Claude, Anthropic"}],"descriptions":[{"lang":"en","value":"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.\n\nAs 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.\n\nIn 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121: Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","shortName":"freebsd","dateUpdated":"2026-03-26T06:21:12.735Z"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"references":[{"url":"https://github.com/califio/publications/blob/main/MADBugs/CVE-2026-4747/exploit.py","tags":["exploit"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-03-26T00:00:00+00:00","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-4747"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-02T03:55:35.253Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-04-01T14:07:04.429Z"},"references":[{"url":"https://github.com/califio/publications/tree/main/MADBugs/CVE-2026-4747"}],"title":"CVE Program Container","x_generator":{"engine":"ADPogram 0.0.1"}}]}}