CVE-2026-39461CWE-121

select(2) file descriptor set overflow causes stack overflow

High · published May 21, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.0th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2026-05-21T09:20Z
EPSS history
Timeline
  • 21 MAY 09:20Z
    select(2) file descriptor set overflow causes stack overflow
    cvelistv5