CVE-2026-58090

FreeBSD · FreeBSD

A use-after-free vulnerability in the FreeBSD SOCK_STREAM receive path allows an unprivileged local user to escalate privileges via improper control message handling.

Executive summary

A high-severity use-after-free vulnerability in the FreeBSD kernel allows local attackers to achieve privilege escalation, posing a significant risk to system integrity.

Vulnerability

This is a use-after-free vulnerability (CWE-416) occurring within the unix socket implementation, specifically the SOCK_STREAM receive path. An unprivileged local user can trigger this flaw to manipulate memory and escalate their privileges on the host system.

Business impact

The ability for a local user to escalate privileges to root level presents a critical threat to the confidentiality, integrity, and availability of the affected system. While the CVSS score of 7.8 reflects the local nature of the attack, the impact is total, potentially allowing an attacker to bypass all security controls, access sensitive data, or install persistent backdoors.

Remediation

Immediate Action: Apply the vendor-supplied patches by updating to FreeBSD 15.1-RELEASE-p3 or 15.0-RELEASE-p13 or later.

Proactive Monitoring: Monitor system logs for unusual kernel crashes or attempts by non-privileged accounts to interact with sensitive socket operations.

Compensating Controls: Restrict local shell access to trusted users and implement strict kernel-level auditing to detect unauthorized privilege escalation attempts.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

This vulnerability represents a significant security risk for FreeBSD environments due to the potential for full system compromise. Security administrators should prioritize the deployment of the provided patches in the next maintenance window to eliminate the risk of local privilege escalation.

More FreeBSD CVEs

Sources

Originally found and disclosed by Mark Johnston, per the CVE Program record.