{"id":"CVE-2026-39457","aliases":["CVE-2026-39457"],"related":[],"kind":"vulnerability","state":"published","title":"Stack overflow via select() file descriptor set overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Al intercambiar datos a través de un socket, libnv utiliza select(2) para esperar la llegada de datos. Sin embargo, no verifica si el descriptor de socket proporcionado cabe en el límite de tamaño del conjunto de descriptores de archivo de select(2) de FD_SETSIZE (1024).\n\nUn atacante que es capaz de forzar a una aplicación libnv a asignar descriptores de archivo grandes, por ejemplo, abriendo muchos descriptores y ejecutando un programa que no tiene cuidado de cerrarlos al inicio, puede desencadenar corrupción de pila. Si la aplicación objetivo es setuid-root, entonces esto podría usarse para elevar privilegios locales.","source":"nvd"}],"published":"2026-04-30T08:01:49.015Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"type":"release","introduced":"15.0-RELEASE","fixed":"p7","status":"affected"},{"type":"release","introduced":"14.4-RELEASE","fixed":"p3","status":"affected"},{"type":"release","introduced":"14.3-RELEASE","fixed":"p12","status":"affected"},{"type":"release","introduced":"13.5-RELEASE","fixed":"p13","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:13.5:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:16.libnv.asc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Joshua Rogers of AISLE Research Team"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-30T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39457","url":"https://www.cve.org/CVERecord?id=CVE-2026-39457","licence":"CVE Terms of Use","modified":"2026-05-01T03:55:51.194Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39457","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39457","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.273Z","epss":{"score":0.00154,"percentile":0.04774,"date":"2026-12-01T12:00:22.000Z"}}