Stack-based buffer overflow in FreeBSD - CVE-2026-45250
Published: May 21, 2026
FreeBSD
Detailed vulnerability description
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.