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

Summary

CVECVE-2026-136235
StatePUBLISHED
Assignerillumos
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-01 21:16:58 UTC
Updated2026-12-01 21:16:58 UTC
DescriptionAn 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


VersionSourceTypeScoreSeverityVector
4.00ca53633-f0b5-4853-ba72-e0a2e62000d0Secondary8.5HIGHCVSS: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.0CNACVSS8.5HIGHCVSS: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
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Illumos Illumos-gate affected c3b97060722accbd08cd9eb3f18cc189b2c07b5e 4f298dea7d360fec27554132edfa187bf9f93410 git x86
CNA OmniOS OmniOS affected r151058 r151058ae custom Not specified
CNA OmniOS OmniOS affected r151060 r151060e custom Not specified

References

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2026-10-27T03:29:00.000ZVendor Notified

Solutions

CNA: Update to an illumos distribution release that includes the fix for illumos issue 18644.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report