CVE-2023-3494: bhyve privileged guest escape via fwctl

Published Aug 1, 2023
·
Updated

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.

Affected Software

14 affected components
FreeBSD FreeBSD=13.1
FreeBSD FreeBSD=13.1-b1-p1
FreeBSD FreeBSD=13.1-b2-p2
FreeBSD FreeBSD=13.1-p1
FreeBSD FreeBSD=13.1-p2
FreeBSD FreeBSD=13.1-p3
FreeBSD FreeBSD=13.1-p4
FreeBSD FreeBSD=13.1-p5
FreeBSD FreeBSD=13.1-p6
FreeBSD FreeBSD=13.1-p7
FreeBSD FreeBSD=13.1-p8
FreeBSD FreeBSD=13.1-rc1-p1
FreeBSD FreeBSD=13.2
FreeBSD FreeBSD=13.2-p1

Event History

Aug 1, 2023
CVE Published
via MITRE·10:13 PM
Data Sourced
via MITRE·10:13 PM
DescriptionWeakness
Data Sourced
11:15 PM
Description
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203