CVE-2026-58091

FreeBSD · FreeBSD

A use-after-free vulnerability in the FreeBSD sound subsystem allows local, unprivileged users to achieve privilege escalation via a race condition in sync group ioctl handling.

Executive summary

A high-severity use-after-free vulnerability in the FreeBSD kernel allows local attackers to escalate privileges, necessitating immediate kernel updates.

Vulnerability

The vulnerability is a use-after-free flaw within the sound subsystem ioctl implementation. An unprivileged local user can trigger this condition by racing the lock acquisition process during sync group management, potentially leading to unauthorized privilege escalation.

Business impact

The ability for a local user to escalate privileges to the kernel level presents a severe risk to system integrity and confidentiality. Successful exploitation could allow an attacker to bypass all OS-level access controls, install persistent backdoors, or exfiltrate sensitive data. With a CVSS score of 7.8, this vulnerability is categorized as high, reflecting the significant impact on system security despite the requirement for local access.

Remediation

Immediate Action: Administrators must apply the latest security patches provided by the FreeBSD project for the affected release branches to resolve the kernel memory management flaw.

Proactive Monitoring: Monitor system logs for repeated crashes of audio-related services or suspicious use of ioctl calls by non-privileged processes.

Compensating Controls: Restrict access to audio device nodes, such as /dev/dsp, to only authorized users to prevent non-privileged accounts from interacting with the vulnerable kernel driver.

Exploitation status

Public Exploit Available: No — there is no confirmed public exploit available in the provided data.

Analyst recommendation

Given the potential for full system compromise via kernel-level privilege escalation, this issue should be treated with high priority. Organizations running the affected FreeBSD versions should verify their current patch level and apply the vendor-supplied updates as soon as they are available to prevent local exploitation.

More FreeBSD CVEs

Sources

Originally found and disclosed by Hazley Samsudin of GovTech CSG, per the CVE Program record.