CVE-2026-45250: Stack buffer overflow via setcred(2)
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-45250?
CVE-2026-45250 has a high severity rating of 7.8 according to CVSS 3.1.
How do I fix CVE-2026-45250?
To address CVE-2026-45250, update to the latest patched version of FreeBSD that resolves this vulnerability.
What is the risk associated with CVE-2026-45250?
The risk associated with CVE-2026-45250 is identified as 73, indicating a significant potential for exploitation.
Can unprivileged users exploit CVE-2026-45250?
No, CVE-2026-45250 targets privileged users as the setcred(2) system call is only available to them.
What type of vulnerability is CVE-2026-45250?
CVE-2026-45250 is classified as a stack buffer overflow vulnerability.