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

Status: published. Published: 2026-12-01. Updated: 2026-12-01.

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.

## Remediation

- fix: Update to an illumos distribution release that includes the fix for illumos issue 18644. (source: CNA: illumos)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: illumos) — https://github.com/illumos/illumos-gate/commit/4f298dea7d360fec27554132edfa187bf9f93410

## Affected products and versions

- illumos / illumos-gate (system/bhyve): ≥ c3b97060722accbd08cd9eb3f18cc189b2c07b5e; < 4f298dea7d360fec27554132edfa187bf9f93410 (affected, git); unaffected at 4f298dea7d360fec27554132edfa187bf9f93410. Source: CNA: illumos; platforms: x86
- OmniOS / OmniOS: ≥ r151058; < r151058ae (affected, custom); unaffected at r151058ae; ≥ r151060; < r151060e (affected, custom); unaffected at r151060e. Source: CNA: illumos

## Severity and prioritization

- CVSS 4.0: 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; source: CNA: illumos

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-787, CWE-129

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://illumos.topicbox.com/groups/discuss/T92d84559d4b3762f/16-bugfixes-addressing-15-cves-now-in-illumos-gate (CNA: illumos; mailing-list)

- https://illumos.org/issues/18644 (CNA: illumos; issue-tracking)

- https://github.com/illumos/illumos-gate/commit/4f298dea7d360fec27554132edfa187bf9f93410 (CNA: illumos; patch)

## Provenance

- CNA: illumos: https://www.cve.org/CVERecord?id=CVE-2026-136235; retrieved 2026-12-01; source updated 2026-12-01

Revision: 720a1753e662b289e491334697202a3f860cefeab656878349aa3707f921fbb9

Canonical: https://y2.dev/cve/CVE-2026-136235

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.