What’s Vulnerable › Vulnerabilities
CVE-2024-32668: bhyve(8) privileged guest escape via USB controller
- Severity: high (CVSS 8.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-05 · updated 2026-06-17
- Weakness: CWE-193
Description
An insufficient boundary validation in the USB code could lead to an out-of-bounds write on the heap, with data controlled by the caller. A malicious, privileged software running in a guest VM can exploit the vulnerability to achieve code execution on the host in the bhyve userspace process, which typically runs as root. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process.
Affected products
- FreeBSD: from 13.0 before 13.3; 13.3, 13.3-p1, 13.3-p2, 13.3-p3, 13.3-p4, 13.3-p5 (+18) — fixed in 13.3
How to fix
Upgrade to a fixed version: FreeBSD 13.3. Check the vendor advisory for mitigations.
References
- https://security.freebsd.org/advisories/FreeBSD-SA-24:12.bhyve.asc
- https://security.netapp.com/advisory/ntap-20240920-0007/
Get alerted when CVE-2024-32668 or the next vulnerability affects your stack