CVE-2026-39461

High

Description

libcasper(3) communicates with helper processes via UNIX domain sockets, and uses the select(2) system call to wait for data to become available. However, it does not verify that its socket descriptor fits within select(2)'s descriptor set size limit of FD_SETSIZE (1024). An attacker able to cause an application using libcasper(3) to allocate large file descriptors, e.g., by opening many descriptors and executing a program which is not careful to close them upon startup, may trigger stack corruption. If the target application runs with setuid root privileges, this could be used to escalate local privileges.

SeverityHigh
CVSS8.8
Exploit probability—
ProductFreebsd
PublishedMay 21, 2026
First seenMay 21, 2026
Weakness typeCWE-121CWE-121

How to fix

Affected products

ProductAffected versionsFixed in
freebsd freebsd14.3, 14.4, 15.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.