CVE Database
/

CVE-2026-39457

Back to search

CVE-2026-39457

Published: Apr 30, 2026

Modified: May 1, 2026

PUBLISHED

Description

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.

VendorProductVersions

FreeBSD

FreeBSD

affected
15.0-RELEASE - < p7
affected
14.4-RELEASE - < p3
affected
14.3-RELEASE - < p12
affected
13.5-RELEASE - < p13

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now