Out-of-bounds write in illumos bhyve modern virtio queue size handling allows guest to corrupt bhyve process memory
CVE-2026-136235Published 1 Dec 2026, 20:32 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.5
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from illumos)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| OmniOSNiche | >= r151058, < r151058ae; >= r151060, < r151060e | r151058ae, r151060e |
| illumos-gateNiche | not stated | — |
What to do
Update to a fixed version: r151058ae, r151060e.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 23), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 1 Dec 2026 Published
- 2 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
CWE-129, CWE-787