Live threats

All CVEs / Freebsd

CVE-2023-3494Freebsd

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 18
Auth required
Yes
Published
Aug 1, 2023
Updated
Jun 17, 2026
Category
Operating system · Cross-platform
Weakness (CWE)
CWE-120
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Freebsd.

Affected products (CPE)

VendorProductVersions
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.1
freebsdfreebsd13.2
freebsdfreebsd13.2

Official sources

References

Links published by the sources. Open them with care.