Stack-based buffer overflow in FreeBSD - CVE-2026-39457

 

Stack-based buffer overflow in FreeBSD - CVE-2026-39457

Published: April 30, 2026


Vulnerability identifier: #VU128488
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-39457
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges.

The vulnerability exists due to a stack-based buffer overflow in libnv when exchanging data over a socket using a socket descriptor that exceeds FD_SETSIZE. A local user can force a libnv application to allocate large file descriptors to escalate privileges.

If the target application is setuid-root, successful exploitation could result in privilege escalation.


Affected software

FreeBSD

How to mitigate CVE-2026-39457

Install security update from vendor's website.


External References

Related Security Bulletins