Skip to main content

FreeBSD libcasper CVE-2026-39461

| EUVD-2026-31258 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-05-21 freebsd GHSA-pwph-948j-pgvj
8.8
CVSS 3.1
Share

CVSS VectorNVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Generated
May 21, 2026 - 15:22 vuln.today
Severity Changed
May 21, 2026 - 15:22 NVD
MEDIUM HIGH
CVSS changed
May 21, 2026 - 15:22 NVD
5.1 (MEDIUM) 8.8 (HIGH)
CVE Published
May 21, 2026 - 09:20 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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.

AnalysisAI

Local privilege escalation in FreeBSD's libcasper(3) library affects FreeBSD 14.3, 14.4, and 15.0 releases prior to specified patch levels, where a missing FD_SETSIZE bounds check enables stack corruption when a low-privileged attacker forces a setuid-root application to allocate file descriptors above 1024. Successful exploitation yields root-equivalent privileges on the local host. …

Sign in for full analysis, threat intelligence, and remediation guidance.

RemediationAI

24 hours: Identify and inventory all FreeBSD systems running versions 14.3, 14.4, and 15.0; document all setuid-root applications present on each host. 7 days: Implement compensating controls including file descriptor limit enforcement (FD_SETSIZE configuration), disable or remove unnecessary setuid-root applications, and enable system call auditing for abnormal file descriptor allocation. …

Sign in for detailed remediation steps.

Share

CVE-2026-39461 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy