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

High 7.8 Published Updated

Integer overflow in FreeBSD sound driver allows local users to read/write kernel memory, leading to privilege escalation or system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-45258?

CVE-2026-45258 is a high-severity vulnerability in Freebsd Freebsd, published on 27 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-787, CWE-681, CWE-190, CWE-125

Which versions are affected by CVE-2026-45258?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2026-45258?

No fix has been published for CVE-2026-45258 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-45258 being exploited?

There is no known exploitation of CVE-2026-45258 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Freebsd Freebsd vulnerabilities

Sources

Is CVE-2026-45258 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free