Buffer overflow in FreeBSD
CVE-2026-39461
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (4.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 5th percentile — 4.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: -0.000
Affected products
- FreeBSD — versions 14.3, 15.0, 14.4-RELEASE
Weakness classification (CWE)
References
- security.freebsd.org/advisories/FreeBSD-SA-26:22.libcasper.asc (vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-39461?
- CVE-2026-39461 is a high-severity vulnerability in FreeBSD, classified under Stack-based Buffer Overflow. CVSS score: 8.8/10. Published 2026-05-21.
- How severe is CVE-2026-39461?
- High severity. CVSS v3 base score is 8.8 out of 10.