Out-of-bounds write in illumos bhyve modern virtio queue size handling allows guest to corrupt bhyve process memory
Summary
| CVE | CVE-2026-136235 |
|---|---|
| State | PUBLISHED |
| Assigner | illumos |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-01 21:16:58 UTC |
| Updated | 2026-12-01 21:16:58 UTC |
| Description | An out-of-bounds write in the illumos bhyve virtio implementation allows a guest to corrupt heap memory of the bhyve process. The modern virtio PCI transport lets the driver set the size of a virtqueue. vi_pci_common_cfg_write() in usr/src/cmd/bhyve/common/virtio.c accepts any power of two, and does not compare it with the maximum queue size set by the device model. Device models size their per-request state by that maximum. The virtio-blk device model, for example, keeps a fixed array of 128 request structures. It indexes the array with the head descriptor index of each request, which is limited only by the queue size. A privileged user within a guest VM can raise the queue size to as much as 32768 and submit a request with a large descriptor index. Request state, including I/O vector and status pointers, is then written beyond the end of the array. This corrupts the bhyve process heap and may lead to code execution in the bhyve process. That process typically runs as root within the zone that hosts the VM. The flaw has existed since November 2025 (illumos-gate commit c3b97060), and affects any illumos distribution prior to illumos-gate commit 4f298dea. |
Risk And Classification
Primary CVSS: v4.0 8.5 HIGH from 0ca53633-f0b5-4853-ba72-e0a2e62000d0
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-129 | CWE-787 | CWE-787 CWE-787 Out-of-bounds Write | CWE-129 CWE-129 Improper Validation of Array Index
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 0ca53633-f0b5-4853-ba72-e0a2e62000d0 | Secondary | 8.5 | HIGH | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 8.5 | HIGH | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
CVSS v4.0 Breakdown
Attack Vector
LocalAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
HighIntegrity
HighAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/illumos/illumos-gate/commit/4f298dea7d360fec27554132edfa187bf... | 0ca53633-f0b5-4853-ba72-e0a2e62000d0 | github.com | |
| illumos.org/issues/18644 | 0ca53633-f0b5-4853-ba72-e0a2e62000d0 | illumos.org | |
| illumos.topicbox.com/groups/discuss/T92d84559d4b3762f/16-bugfixes-addressing-15-cv... | 0ca53633-f0b5-4853-ba72-e0a2e62000d0 | illumos.topicbox.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Nick Wilkens (en)
CNA: Andy Fiddaman (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-10-27T03:29:00.000Z | Vendor Notified |
Solutions
CNA: Update to an illumos distribution release that includes the fix for illumos issue 18644.
There are currently no legacy QID mappings associated with this CVE.