CVE-2026-45258
CVE-2026-45258 is a high-severity vulnerability in Freebsd with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-125.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 0% (5th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-125
- Affected product: Freebsd
- Published:
- Last modified:
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).
Frequently asked questions
- What is CVE-2026-45258?
- 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).
- How severe is CVE-2026-45258?
- CVE-2026-45258 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-45258 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (5th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-45258?
- CVE-2026-45258 primarily affects Freebsd. In total, 31 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-45258?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2026-45258 published?
- CVE-2026-45258 was published on 2026-06-27 and last updated on 2026-07-01.
References
Affected products (31)
- cpe:2.3:o:freebsd:freebsd:14.3:-:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p1:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p10:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p11:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p12:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p13:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p14:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p2:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p3:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p4:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p5:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p6:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p7:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p8:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.3:p9:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.4:p1:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.4:p2:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.4:p3:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.4:p4:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:14.4:p5:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:-:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p1:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p2:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p3:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p4:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p5:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p6:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p7:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p8:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:15.0:p9:*:*:*:*:*:*
More vulnerabilities in Freebsd
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2018-17160 — Critical (CVSS 10.0): In FreeBSD before 11.2-STABLE(r341486) and 11.2-RELEASE-p6, insufficient bounds checking in one of the device models…
- CVE-2014-3954 — Critical (CVSS 10.0): Stack-based buffer overflow in rtsold in FreeBSD 9.1 through 10.1-RC2 allows remote attackers to cause a denial of…
- CVE-2011-4862 — Critical (CVSS 10.0): Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT Kerberos Version 5 Applications (aka…
- CVE-2006-4304 — Critical (CVSS 10.0): Buffer overflow in the sppp driver in FreeBSD 4.11 through 6.1, NetBSD 2.0 through 4.0 beta before 20060823, and…
- CVE-2006-0226 — Critical (CVSS 10.0): Integer overflow in IEEE 802.11 network subsystem (ieee80211_ioctl.c) in FreeBSD before 6.0-STABLE, while scanning for…
Other CWE-125 (Out-of-bounds Read) vulnerabilities
- CVE-2026-24826 — Critical (CVSS 10.0): Out-of-bounds Write, Divide By Zero, NULL Pointer Dereference, Use of Uninitialized Resource, Out-of-bounds Read,…
- CVE-2024-22004 — Critical (CVSS 10.0): Due to length check, an attacker with privilege access on a Linux Nonsecure operating system can trigger a…
- CVE-2021-41556 — Critical (CVSS 10.0): sqclass.cpp in Squirrel through 2.2.5 and 3.x through 3.1 allows an out-of-bounds read (in the core interpreter) that…
- CVE-2021-21777 — Critical (CVSS 10.0): An information disclosure vulnerability exists in the Ethernet/IP UDP handler functionality of EIP Stack Group OpENer…
- CVE-2017-14451 — Critical (CVSS 10.0): An exploitable out-of-bounds read vulnerability exists in libevm (Ethereum Virtual Machine) of CPP-Ethereum. A…
- CVE-2013-0767 — Critical (CVSS 10.0): The nsSVGPathElement::GetPathLengthScale function in Mozilla Firefox before 18.0, Firefox ESR 10.x before 10.0.12 and…