CVE-2026-39461

8.8

FreeBSD · libcasper

A stack-based buffer overflow in libcasper(3) during UNIX domain socket communication allows local attackers to potentially elevate privileges or cause system crashes.

Executive summary

A stack-based buffer overflow in FreeBSD’s libcasper library creates a risk of privilege escalation and system instability for local users.

Vulnerability

The vulnerability is a stack-based buffer overflow occurring when libcasper communicates with helper processes via UNIX domain sockets using the select(2) system call. The attack requires local access and low privileges to trigger.

Business impact

Successful exploitation allows a local attacker to gain elevated privileges, potentially resulting in full system compromise. While the attack requires local access, the CVSS score of 8.8 underscores the severity of the impact on system confidentiality, integrity, and availability.

Remediation

Immediate Action: Apply the vendor-provided security patches by updating the FreeBSD system to the latest patch level (15.0-p9, 14.4-p5, or 14.3-p14) using freebsd-update.

Proactive Monitoring: Review system logs for unusual process crashes or segmentation faults, which may indicate attempted exploitation of the buffer overflow.

Compensating Controls: Restrict local user access to the system and ensure that only trusted users have the ability to execute code or interact with system-level services.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

Given the potential for privilege escalation, administrators of the affected FreeBSD versions must prioritize the installation of these security updates. Failure to patch could allow local users to bypass security controls and gain unauthorized administrative control over the host.

More FreeBSD CVEs