CVE-2024-32668 in Freebsd
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 13.3 13.4 14.0 14.1 ≥ 13.0, < 13.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-32668 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-192232-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Published | 2024-09-05 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-193: CWE-193
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
A vulnerability in the USB code of bhyve allows for an out-of-bounds write on the heap, potentially leading to code execution on the host system.
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. The vulnerability is due to insufficient boundary validation in the USB code, allowing for data-controlled out-of-bounds writes.
Questions
What is CVE-2024-32668?
A vulnerability in the USB code of bhyve allows for an out-of-bounds write on the heap, potentially leading to code execution on the host system.
What is the CVSS score for CVE-2024-32668?
CVE-2024-32668 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2024-32668 actively exploited?
No confirmed active exploitation of CVE-2024-32668 as of 2026-09-25.
How do I remediate CVE-2024-32668?
Priority: IMMEDIATE. Advisory: https://security.freebsd.org/advisories/FreeBSD-SA-24:12.bhyve.asc PSIRT: [email protected]
What systems are affected by CVE-2024-32668?
CVE-2024-32668 affects Freebsd Freebsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.