CVE-2021-29631 in Freebsd
In FreeBSD 13.0-STABLE before n246941-20f96f215562, 12.2-STABLE before r370400, 11.4-STABLE before r370399, 13.0-RELEASE before p4, 12.2-RELEASE before p10, and 11.4-RELEASE before p13, certain VirtIO-based device models in bhyve failed to handle errors when fetching I/O descriptors. A malicious guest may cause the ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 11.4 12.2 13.0 |
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
In FreeBSD 13.0-STABLE before n246941-20f96f215562, 12.2-STABLE before r370400, 11.4-STABLE before r370399, 13.0-RELEASE before p4, 12.2-RELEASE before p10, and 11.4-RELEASE before p13, certain VirtIO-based device models in bhyve failed to handle errors when fetching I/O descriptors. A malicious guest may cause the device model to operate on uninitialized I/O vectors leading to memory corruption, crashing of the bhyve process, and possibly arbitrary code execution in the bhyve process.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-29631 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-075227-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-08-30 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-908: CWE-908
Analysis AI-written, not human-reviewed
A vulnerability in FreeBSD's bhyve hypervisor affects certain VirtIO-based device models, leading to memory corruption when a malicious guest manipulates I/O descriptors.
The attack vector involves a malicious guest operating within a virtual machine environment managed by bhyve. The guest can exploit the vulnerability by causing the device model to operate on uninitialized I/O vectors, which can lead to memory corruption.
Questions
What is CVE-2021-29631?
A vulnerability in FreeBSD's bhyve hypervisor affects certain VirtIO-based device models, leading to memory corruption when a malicious guest manipulates I/O descriptors.
What is the CVSS score for CVE-2021-29631?
CVE-2021-29631 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2021-29631 actively exploited?
No confirmed active exploitation of CVE-2021-29631 as of 2026-05-30.
How do I remediate CVE-2021-29631?
Priority: HIGH. Advisory: https://security.FreeBSD.org/advisories/FreeBSD-SA-21:13.bhyve.asc PSIRT: [email protected]
What systems are affected by CVE-2021-29631?
CVE-2021-29631 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 2024-11-21.