CVE-2023-3494
publishedbhyve privileged guest escape via fwctl
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD13.2-RELEASE to < 13.2-RELEASE-p2 · 13.1-RELEASE to < 13.1-RELEASE-p9 · Other versions: unaffected | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 13.2-RELEASE to < 13.2-RELEASE-p2 (affected · release)13.1-RELEASE to < 13.1-RELEASE-p9 (affected · release)Default: unaffected | freebsd · cna |
Weaknesses
1- CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
2Provider assertions
3freebsd · cna
bhyve privileged guest escape via fwctl
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8f37dc4883575be7b5aad5c2370b4a72ea3d53b13f90c0b351f04355b99a95d0
- Ingested
- 23 Sep 2026, 08:11:05 UTC
- Source record
- Official CVE record