# CVE-2026-136235: Out-of-bounds write in illumos bhyve modern virtio queue size handling allows guest to corrupt bhyve process memory

- Severity: High 8.5 (CVSS:4.0, scored by illumos) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T20:32:15.857Z
- Modified: 2026-12-01T22:17:54.420Z
- Weaknesses: CWE-129, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: illumos

## 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.

(As written by CVE List.)

## Affected

- system/bhyve: from c3b97060722accbd08cd9eb3f18cc189b2c07b5e before 4f298dea7d360fec27554132edfa187bf9f93410
- OmniOS OmniOS: from r151058 before r151058ae; from r151060 before r151060e

## References

- <https://illumos.topicbox.com/groups/discuss/T92d84559d4b3762f/16-bugfixes-addressing-15-cves-now-in-illumos-gate> (mailing-list)
- <https://illumos.org/issues/18644> (issue-tracking)
- <https://github.com/illumos/illumos-gate/commit/4f298dea7d360fec27554132edfa187bf9f93410> (patch)

## Sources

- CVE List: [CVE-2026-136235](https://www.cve.org/CVERecord?id=CVE-2026-136235), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-136235](https://nvd.nist.gov/vuln/detail/CVE-2026-136235), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-136235 · Whole record: https://cve.day/CVE-2026-136235.json · Rebuilt by cve.day 2026-12-01T22:32:19.576Z
