CVE-2026-39461Freebsd Stack-based Buffer Overflow
NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Vulnerability Summary
libcasper(3) communicates with helper processes via UNIX domain sockets, and uses the select(2) system call to wait for data to become available. However, it does not verify that its socket descriptor fits within select(2)'s descriptor set size limit of FD_SETSIZE (1024).
An attacker able to cause an application using libcasper(3) to allocate large file descriptors, e.g., by opening many descriptors and executing a program which is not careful to close them upon startup, may trigger stack corruption. If the target application runs with setuid root privileges, this could be used to escalate local privileges.
An attacker able to cause an application using libcasper(3) to allocate large file descriptors, e.g., by opening many descriptors and executing a program which is not careful to close them upon startup, may trigger stack corruption. If the target application runs with setuid root privileges, this could be used to escalate local privileges.
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Freebsd
- FreeBSD >= 15.0-RELEASE and < p9
- FreeBSD >= 14.4-RELEASE and < p5
- FreeBSD >= 14.3-RELEASE and < p14
- FreeBSD p9
- FreeBSD p5
- FreeBSD p14
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Freebsd and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- May 21, 2026Published
- Jul 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Freebsd CVEsYou are reading CVE-2026-39461. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 27, 2026 21:15 UTC