Out-of-bounds Read in FreeBSD
CVE-2026-45258
dsp_mmap_single() validated the requested mapping by checking the sum of the user-supplied offset and length against the buffer size. This addition could overflow, so that a large offset and length wrapped around and passed the check. The offset was then narrowed from 64 to 32 bits when converted to a buffer address, yielding a mapping that extended past the audio buffer into unrelated kernel memory.
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).
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 4.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- FreeBSD — versions 14.3, 15.0, 14.4-RELEASE
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Yayoi-cs/CVE-2026-45258_1day_LPE_exploit (last pushed 2026-06-10): 1-day exploit for CVE-2026-45258
References
- security.freebsd.org/advisories/FreeBSD-SA-26:27.sound.asc (vendor-advisory, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.