Buffer overflow in FreeBSD
CVE-2026-45250
The setcred(2) system call is only available to privileged users. However, before the privilege level of the caller is checked, the user-supplied list of supplementary groups is copied into a fixed-size kernel stack buffer without first validating its length. If the supplied list exceeds the capacity of that buffer, a stack buffer overflow occurs.
Because the bounds check on the supplementary groups list occurs after the kernel stack buffer has already been written, an unprivileged local user may trigger the overflow without holding any special privilege. Successful exploitation may allow an attacker to execute arbitrary code in the context of the kernel, allowing an unprivileged local user to gain elevated privileges on the affected system.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 35.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- FreeBSD — versions 14.3, 15.0, 14.4-RELEASE
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- venglin/setcred (22 stars, last pushed 2026-07-23): CVE-2026-45250: FreeBSD 14.4 setcred kernel buffer overflow (LPE)
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.