Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain unprivileged local shell with sound device access
-
DeliveryOpen audio channel and mmap its buffer
-
ExploitRace concurrent resize against mmap during lock-drop window
-
ExecutionTrigger use-after-free on freed mapped buffer
-
PersistGroom kernel heap to control freed object
-
ImpactEscalate privileges to root
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Requires local, authenticated access to a FreeBSD host and permission to open a sound(4) audio device (a desktop/workstation or multi-user scenario rather than a headless server). The attacker must concurrently (1) trigger an audio-channel buffer resize and (2) issue an mmap(2) on the same buffer from another thread so the mapping completes during the brief interval after the driver verifies the buffer is not mapped and drops the channel lock to reallocate. Limiting factors: exploitation is local-only (not remotely reachable), needs device access privileges, and depends on winning a non-deterministic TOCTOU timing race (CWE-367), so success is probabilistic and may require many attempts. Affected and unpatched versions only: FreeBSD 15.1-RELEASE before p5, 14.4-RELEASE before p11, and 14.5-RELEASE before p2. |
| Impact | This is a genuine but lower-tier priority. All exploitation signals point to a constrained, local-only threat: the CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 MEDIUM) requires an authenticated local user with access to a sound device, EPSS is very low (0.11%, 1st percentile), there is no CISA KEV listing, and no public exploit was identified at time of analysis - a convergent low-urgency picture with no conflicting signals on likelihood. The one notable tension is impact scoping: the vendor vector sets C:N/I:N/A:H (availability-only), yet the description explicitly states the use-after-free can be leveraged for privilege escalation in the kernel, which realistically implies confidentiality and integrity impact as well - this understates true impact, so the headline 5.5 likely undersells a successful exploit. Additionally, CWE-367 (TOCTOU race) means reliable exploitation depends on winning a narrow timing window after the channel lock is dropped, which the vendor's AC:L arguably understates (kernel UAF-via-race primitives are typically probabilistic and non-trivial to weaponize). Net: a credible local privilege-escalation race worth patching on multi-user and desktop FreeBSD systems, but not an internet-facing or mass-exploitation concern. |
| Exploit ScenarioDerived | An unprivileged local user with access to a sound device opens an audio channel and, from one thread, triggers a buffer resize while a second thread races an mmap(2) call to map the buffer precisely during the window where the driver has dropped the channel lock. If the race is won, the resize path frees a buffer that is now mapped, yielding a kernel use-after-free the attacker grooms to corrupt kernel memory and escalate to root. No public proof-of-concept was identified at time of analysis, and reliability depends on repeatedly hitting the narrow timing window. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Local privilege escalation in FreeBSD's sound(4) driver stems from a time-of-check/time-of-use race in audio-buffer resizing: a local, authenticated user with sound-device access can race an mmap(2) call against a buffer reallocation to cause a kernel use-after-free. Affected releases are FreeBSD 15.1-RELEASE before p5, 14.4-RELEASE before p11, and 14.5-RELEASE before p2; the independent assessment rates exploitation as local, authenticated, high-complexity, and requiring a non-deterministic timing win, with high confidentiality, integrity, and availability impact if successful. EPSS is 0.11% (1st percentile) and no public exploit identified at time of analysis, making this a genuine but lower-tier priority compared with remotely exploitable or actively exploited issues.
RemediationAI
Apply the vendor-released patches by updating to FreeBSD 15.1-RELEASE-p5 or later, 14.4-RELEASE-p11 or later, or 14.5-RELEASE-p2 or later, as documented in FreeBSD-SA-26:71.sound.asc (https://security.freebsd.org/advisories/FreeBSD-SA-26:71.sound.asc). Until patched, reduce exposure by restricting access to sound devices such as /dev/dsp* to trusted users and groups and removing unprivileged users from any group with audio-device permissions; this may break audio for those users but directly removes the required local device-access precondition. If audio is not needed on the host, unload or disable the sound(4) driver/module, or detach or blacklist the audio hardware, accepting loss of audio functionality. Because exploitation requires a local timing race (AC:H) and device access, these controls lower risk more effectively than generic hardening; no public exploit is identified, but patching remains advisable given the kernel use-after-free and potential privilege escalation.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreeBSD's sound(4) subsystem exposes PCM audio channels (for example /dev/dsp) and manages per-channel DMA buffers that can be resized when applications change audio formats or buffer parameters. The vulnerable logic verifies that the current buffer is not memory-mapped, then releases the channel lock to allocate a replacement buffer; during that unlocked window, another thread can complete an mmap(2) on the same channel, so the resize path frees the original buffer while it remains mapped, leading to a kernel use-after-free on later access. This is a classic CWE-367 TOCTOU race requiring local access to a sound device and concurrent mmap and resize operations. The vendor/NVD base metric is 5.5, but the independent assessment assigns CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, reflecting that local authenticated attackers with device permissions can potentially escalate privileges if the race is won. The FreeBSD advisory is FreeBSD-SA-26:71.sound.asc, with EUVD-2026-101883 mapping the affected ranges; EPSS is 0.11% (1st percentile) and the issue is not listed in CISA KEV, so exploitation is not confirmed active and no public exploit is identified at time of analysis.
Know when Freebsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local sound-device access gives PR:L/AV:L; the TOCTOU timing window justifies AC:H; a kernel use-after-free enabling privilege escalation warrants full C:H/I:H/A:H rather than the vendor's availability-only rating.
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
2DescriptionCVE.org
When an audio channel's buffer needs to be resized, the sound(4) driver checks that the buffer is not memory-mapped and then drops the channel lock to allocate a new buffer. An mmap(2) call on another thread can complete during this window, after which the resize path frees the now-mapped buffer without rechecking.
An unprivileged local user with access to a sound device can exploit this race to trigger a use-after-free in the kernel, potentially escalating privileges.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
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
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
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
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
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
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
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
EUVD-2026-101883
GHSA-pmrj-w7pv-p57q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB