Vulnerability

CVE-2026-39457

highCVSS 3.1 7.8Published 30 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Freebsd freebsd

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning