PoC Monitor
← All CVEs
CVE-2026-39461published 21 May 2026 09:20 UTCData: JSON · API

FreeBSD

select(2) file descriptor set overflow causes stack overflow

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CISA ADP · CWE-121
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

FreeBSD FreeBSD
  • >= 15.0-RELEASE, < p9
  • >= 14.4-RELEASE, < p5
  • >= 14.3-RELEASE, < p14

Fixed in p9, p5, p14

Mitigation

Upgrade FreeBSD to p9 or p5 or p14 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published21 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.