CVE-2026-39457 | 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.

Published: 2026-04-30 Last update: 2026-05-01 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-39457 is rated Low Risk (32.9/100): CVSS High severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-39457

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-30 0.02%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-39457

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2026-39457

GitHub Security Advisory for CVE-2026-39457

GHSA-gfv8-jx4x-32h7 · Severity: high — When exchanging data over a socket, libnv uses select(2) to wait for data to arrive. However, it...

Affected software / configurations for CVE-2026-39457

Vendor Product Version Raw CPE
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:-:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:beta3:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p1:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p10:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p11:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p12:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p2:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p3:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p4:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p5:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p6:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p7:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p8:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p9:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:-:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p1:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p10:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p11:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p2:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p3:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p4:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p5:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p6:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p7:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p8:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p9:*:*:*:*:*:*
freebsd freebsd 14.4 cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*
freebsd freebsd 14.4 cpe:2.3:o:freebsd:freebsd:14.4:p1:*:*:*:*:*:*
freebsd freebsd 14.4 cpe:2.3:o:freebsd:freebsd:14.4:p2:*:*:*:*:*:*
freebsd freebsd 14.4 cpe:2.3:o:freebsd:freebsd:14.4:rc1:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:-:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p1:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p2:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p3:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p4:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p5:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p6:*:*:*:*:*:*

References for CVE-2026-39457

cvelogic Threat Intelligence