Stack-based buffer overflow in FreeBSD - CVE-2026-39461
Published: May 21, 2026
FreeBSD
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges.
The vulnerability exists due to stack-based buffer overflow in libcasper when handling socket descriptors that exceed select(2) descriptor set limits. A local user can cause an application using libcasper to allocate large file descriptors to escalate privileges.
Exploitation requires a target application that uses libcasper, and privilege escalation is possible if that application runs with setuid root privileges.