CVE-2026-39457
published high CVSS 3.1 · 7.8Stack overflow via select() file descriptor set overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD15.0-RELEASE to < p7 · 14.4-RELEASE to < p3 · 14.3-RELEASE to < p12 · 13.5-RELEASE to < p13 · Other versions: unknown | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.0-RELEASE to < p7 (affected · release)14.4-RELEASE to < p3 (affected · release)14.3-RELEASE to < p12 (affected · release)13.5-RELEASE to < p13 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-121 CWE-121: Stack-based Buffer Overflow
References
1Provider assertions
2freebsd · cna
Stack overflow via select() file descriptor set overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa42d8fe9ba84f024fbfdc9840bace0b1f7274fc614db18e638570b2373e5791
- Ingested
- 23 Sep 2026, 09:12:08 UTC
- Source record
- Official CVE record