Stack-based buffer overflow in FreeBSD - CVE-2026-45250

 

Stack-based buffer overflow in FreeBSD - CVE-2026-45250

Published: May 21, 2026


Vulnerability identifier: #VU132006
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-45250
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to stack-based buffer overflow in the setcred(2) system call when copying a user-supplied supplementary groups list into a fixed-size kernel stack buffer. A local user can supply an oversized supplementary groups list to execute arbitrary code.

The issue can be triggered before the caller's privilege level is checked, and successful exploitation occurs in the context of the kernel.


Affected software

FreeBSD

How to mitigate CVE-2026-45250

Install security update from vendor's website.


External References

Related Security Bulletins