Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local-only via /dev/dsp (AV:L), any unprivileged account qualifies since nodes are world-accessible (PR:L), UAF race and heap grooming raise complexity (AC:H), full kernel read/write yields total C/I/A.
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
Second, the audio buffer backing a mapping could be freed when the device was closed even though the mapping remained valid. The freed memory could then be reused elsewhere while still accessible through the stale mapping.
The /dev/dsp device nodes are world-accessible by default. On a system with an audio device, either issue allows an unprivileged local user to read and write kernel memory, which can be used to escalate privileges, potentially gaining full control of the affected system. At a minimum, an attacker can crash the kernel, resulting in a Denial of Service (DoS).
AnalysisAI
Local privilege escalation in FreeBSD 14.3, 14.4, and 15.0 releases arises from a use-after-free in the sound (OSS) subsystem, where an audio buffer backing a memory mapping is freed on device close while the mapping stays valid, leaving a stale mapping into reusable kernel memory. Because /dev/dsp device nodes are world-accessible by default, any unprivileged local user on a system with an audio device can read and write kernel memory to escalate to full control, or at minimum crash the kernel for denial of service. There is no public exploit identified at time of analysis, KEV shows no active exploitation, and EPSS is low at 0.19%.
Technical ContextAI
The flaw lives in FreeBSD's OSS-compatible sound driver, which exposes PCM audio through /dev/dsp character device nodes and supports mmap() of the DMA/audio buffer so applications can access sample data directly. The root cause is CWE-416 (Use After Free): the kernel frees the audio buffer that backs an active user mapping when the device is closed, but does not tear down or invalidate the mapping, so the freed physical memory can be recycled for unrelated kernel allocations while still reachable through the user's stale virtual mapping. Because a memory mapping grants direct read/write to whatever kernel object subsequently occupies that reused page, this is a powerful primitive rather than a mere info leak. The FreeBSD advisory FreeBSD-SA-26:27.sound.asc is the authoritative source; CPE identifies the affected product as freebsd:freebsd.
RemediationAI
Vendor-released patch: apply the fixed patch levels - FreeBSD 14.3-RELEASE-p15, 14.4-RELEASE-p6, or 15.0-RELEASE-p10 - via 'freebsd-update fetch install' (or rebuild from the corresponding security branch) and reboot, as detailed in FreeBSD-SA-26:27.sound.asc (https://security.freebsd.org/advisories/FreeBSD-SA-26:27.sound.asc). If patching must be deferred, the most effective compensating control is to restrict access to the sound device: tighten permissions on the world-accessible /dev/dsp nodes (for example via a devfs.rules ruleset that removes group/other read-write, applied through devfs_system_ruleset in /etc/rc.conf), which blocks unprivileged local users at the cost of breaking legitimate audio access for non-root users. On hosts that do not need audio at all, unload/disable the sound modules (do not load snd_* drivers) so the vulnerable /dev/dsp interface is never created - this fully removes the attack surface with no downside on headless servers. These controls reduce risk only for the local-access vector and are no substitute for the patch.
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) wa
The SCTP implementation in FreeBSD 8.2 allows remote attackers to cause a denial of service (NULL pointer dereference an
NFS in a BSD derived codebase, as used in OpenBSD through 7.4 and FreeBSD through 14.0-RELEASE, allows remote attackers
Same weakness CWE-416 – Use After Free
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39961