← back
CVE-2026-39457

Stack overflow via select() file descriptor set overflow

CVSS 7.8 HIGHEPSS 0.2%CWE-121
Vexday Risk Score
21Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 7.8EPSS 0.2%KEV nãoPoC Nuclei Metasploit Patch referenciado
Lifecycle
30 Apr 2026Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
FreeBSD · FreeBSD

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →