CVE-2026-45258

HIGH

FreeBSD sound(4) mmap - Integer Overflow Privilege Escalation

Title source: manual
STIX 2.1

Description

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

References (1)

Core 1
Core References

Scores

CVSS v3 7.8
EPSS 0.0015
EPSS Percentile 4.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-125 CWE-190 CWE-681 CWE-787
Status published
Products (6)
freebsd/freebsd 14.3 (15 CPE variants)
freebsd/freebsd 14.4 (6 CPE variants)
freebsd/freebsd 15.0 (10 CPE variants)
FreeBSD/FreeBSD 14.3-RELEASE - p15
FreeBSD/FreeBSD 14.4-RELEASE - p6
FreeBSD/FreeBSD 15.0-RELEASE - p10
Published Jun 27, 2026
Tracked Since Jun 27, 2026