CVE-2026-39461

high
Published 2026-05-21 · Modified 2026-05-21
CVSS v3
8.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v2
VIR risk
8.8

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.

Predictions

Exploit likelihood
82%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: secteam@freebsd.org — https://security.freebsd.org/advisories/FreeBSD-SA-26:22.libcasper.asc

OS impact

OSVersionStatusFixed in
freebsd freebsd14.3affected
freebsd freebsd14.4affected
freebsd freebsd15.0affected

References

CWEs

CWE-121

Verify integrity in audit chain (admin only). AS-IS.