Multiple vulnerabilities in the sound(4) mmap path
Summary
| CVE | CVE-2026-45258 |
|---|---|
| State | PUBLISHED |
| Assigner | freebsd |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-27 09:16:22 UTC |
| Updated | 2026-07-01 14:04:59 UTC |
| 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). |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from ADP
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001490000 probability, percentile 0.045070000 (date 2026-07-04)
Problem Types: CWE-125 | CWE-190 | CWE-681 | CWE-787 | CWE-125 CWE-125 Out-of-bounds Read | CWE-190 CWE-190 Integer Overflow or Wraparound | CWE-681 CWE-681 Incorrect Conversion between Numeric Types | CWE-787 CWE-787 Out-of-bounds Write
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Freebsd | Freebsd | 14.3 | - | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p1 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p10 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p11 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p12 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p13 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p14 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p2 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p3 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p4 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p5 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p6 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p7 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p8 | All | All |
| Operating System | Freebsd | Freebsd | 14.3 | p9 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | - | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p1 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p2 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p3 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p4 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p5 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | - | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p1 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p2 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p3 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p4 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p5 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p6 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p7 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p8 | All | All |
| Operating System | Freebsd | Freebsd | 15.0 | p9 | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| security.freebsd.org/advisories/FreeBSD-SA-26:27.sound.asc | [email protected] | security.freebsd.org | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Lexpl0it, 75Acol, ch0wn, zer0duck (en)
CNA: Emmanuel Genier from Quarkslab (en)
CNA: Hazley Samsudin of GovTech CSG (en)
There are currently no legacy QID mappings associated with this CVE.