{"id":"CVE-2026-39457","published":"2026-04-30T08:01:49Z","modified":"2026-05-01T03:55:51Z","title":"Stack overflow via select() file descriptor set overflow","vendor":"FreeBSD","product":"FreeBSD","tier":"tail","description":{"text":"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).\n\nAn 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00162,"percentile":0.0284,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:16.libnv.asc","tags":["vendor-advisory"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":0.57},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"freebsd","affectedVersions":[{"vendor":"FreeBSD","product":"FreeBSD","versions":[">= 15.0-RELEASE, < p7",">= 14.4-RELEASE, < p3",">= 14.3-RELEASE, < p12",">= 13.5-RELEASE, < p13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-30T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-26356","exploited":false,"provenance":"source"}}