Use-after-free in FreeBSD - CVE-2026-127741

 

Use-after-free in FreeBSD - CVE-2026-127741

Published: November 18, 2026


Vulnerability identifier: #VU166851
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-127741
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges in the kernel.

The vulnerability exists due to a use-after-free in the FreeBSD sound(4) driver when an audio channel's software buffer is resized concurrently with copying data between the buffer and userspace. A local user can use access to a /dev/dsp* sound device to race buffer resizing against read or write operations, freeing the buffer while a copy is in progress, to escalate privileges.


Affected software

FreeBSD

How to mitigate CVE-2026-127741

Install security update from vendor's website.


External References

Related Security Bulletins