Multiple vulnerabilities in the sound(4) mmap path

Summary

CVECVE-2026-45258
StatePUBLISHED
Assignerfreebsd
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-27 09:16:22 UTC
Updated2026-06-27 09:16:22 UTC
Descriptiondsp_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

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA FreeBSD FreeBSD affected 15.0-RELEASE p10 release Not specified
CNA FreeBSD FreeBSD affected 14.4-RELEASE p6 release Not specified
CNA FreeBSD FreeBSD affected 14.3-RELEASE p15 release Not specified

References

ReferenceSourceLinkTags
security.freebsd.org/advisories/FreeBSD-SA-26:27.sound.asc [email protected] security.freebsd.org
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)

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report