Description
The fwctl driver implements a state machine which is executed when a bhyve guest accesses certain x86 I/O ports. The interface lets the guest copy a string into a buffer resident in the bhyve process' memory. A bug in the state machine implementation can result in a buffer overflowing when copying this string. Malicious, privileged software running in a guest VM can exploit the buffer overflow to achieve code execution on the host in the bhyve userspace process, which typically runs as root, mitigated by the capabilities assigned through the Capsicum sandbox available to the bhyve process.
References (2)
Core 2
Core References
Vendor Advisory
https://security.netapp.com/advisory/ntap-20230831-0006/
Vendor Advisory vendor-advisory
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
Scores
CVSS v3
8.8
EPSS
0.0013
EPSS Percentile
32.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-120
Status
published
Products (2)
freebsd/freebsd
13.1 (12 CPE variants)
freebsd/freebsd
13.2 (2 CPE variants)
Published
Aug 01, 2023
Tracked Since
Feb 18, 2026