Skip to main content

FreeBSD sound(4) EUVDEUVD-2026-101883

| CVE-2026-101308 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-10-15 secteam@freebsd.org GHSA-pmrj-w7pv-p57q
5.5
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain unprivileged local shell with sound device access
  2. Delivery
    Open audio channel and mmap its buffer
  3. Exploit
    Race concurrent resize against mmap during lock-drop window
  4. Execution
    Trigger use-after-free on freed mapped buffer
  5. Persist
    Groom kernel heap to control freed object
  6. Impact
    Escalate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FreeBSD 15.1-RELEASE <p5
FreeBSD 14.4-RELEASE <p11
FreeBSD 14.5-RELEASE <p2

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

Vendor (freebsd) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.0 HIGH

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.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (freebsd).

CVSS VectorVendor: freebsd

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Oct 15, 2026 - 16:22 NVD
5.5 (MEDIUM)
CVE Published
Oct 15, 2026 - 07:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
FreeBSD base OS is common but sound(4) mainly on desktop/multi-user hosts
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

CVE-2012-0217 HIGH POC
7.2 Jun 12

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

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

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

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

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

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy