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

Published Dec 1, 2026
·
Updated

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. vipcicommoncfgwrite() 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.

Affected Software

1 affected component
illumos bhyve>=c3b97060<4f298dea

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 4f298dea

Event History

Dec 1, 2026
CVE Published
via MITRE·08:32 PM
Data Sourced
via MITRE·08:32 PM
RemedyDescriptionWeakness
Data Sourced
via OSV·08:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are exposed?

Illumos systems running bhyve with the modern virtio PCI transport are affected if they are based on illumos-gate before commit 4f298dea. The flaw has existed since the November 2025 illumos-gate commit c3b97060.

2

What level of guest access is required to exploit this issue?

An attacker needs privileged access inside a guest VM. They must be able to configure a virtqueue size and submit a request using a large descriptor index.

3

What is the likely impact on the host?

The guest can corrupt heap memory in the bhyve process and may be able to execute code in that process. The bhyve process typically runs as root within the zone hosting the VM.

4

How can I determine whether my environment is affected?

Check whether the illumos source or distribution build includes illumos-gate commit 4f298dea. Builds before that commit are affected; the vulnerable behavior was introduced by commit c3b97060.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203