PoC Monitor
← All CVEs
CVE-2026-39457published 30 Apr 2026 08:01 UTCData: JSON · API

FreeBSD

Stack overflow via select() file descriptor set overflow

When exchanging data over a socket, libnv uses select(2) to wait for data to arrive. However, it does not verify whether the provided socket descriptor fits in select(2)'s file descriptor set size limit of FD_SETSIZE (1024). An attacker who is able to force a libnv application to allocate large file descriptors, e.g., by opening many descriptors and executing a program which is not careful to close them upon startup, can trigger stack corruption. If the target application is setuid-root, then this could be used to elevate local privileges.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.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, < p7
  • >= 14.4-RELEASE, < p3
  • >= 14.3-RELEASE, < p12
  • >= 13.5-RELEASE, < p13

Fixed in p7, p3, p12, p13

Mitigation

Upgrade FreeBSD to p7 or p3 or p12 or p13 or later.

References

Timeline

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

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.