Skip to main content

FreeBSD bhyve CVE-2026-101311

| EUVDEUVD-2026-101930 HIGH
Race Condition (CWE-362)
2026-10-15 freebsd GHSA-gxmh-c4q6-pg9m
7.0
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain code execution inside guest VM
  2. Delivery
    Write unvalidated width/height to framebuffer BAR
  3. Exploit
    Race unsynchronized RFB rendering thread
  4. Execution
    Trigger memory corruption in bhyve host process
  5. Impact
    Crash bhyve or execute code in host userspace

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the bhyve virtual machine to be configured with the framebuffer/VNC graphical console (the 'fbuf' device exposing the framebuffer BAR and RFB server) - hosts running headless/serial-only guests are not exposed via this path. The attacker must already have code execution inside the guest (PR:L) and must reach the vulnerable framebuffer BAR MMIO writes. Exploitation is LIMITED by: (1) the need to win a timing race between the framebuffer BAR I/O thread and the RFB rendering thread (AC:H), making reliable code execution difficult versus a simple crash; (2) guest-level privilege being a prerequisite, so this is a guest-to-host escape primitive, not a remote-unauthenticated flaw; and (3) bhyve's Capsicum sandbox, which constrains what a successful host-side code-execution payload can do. Affects FreeBSD 14.4, 14.5, and 15.1 release lines prior to the patched levels.

Impact

Signals conflict in direction: the CVSS 3.1 base score of 7.0 (High) is driven by full C:H/I:H/A:H impact and the potential for host code execution (CWE-362, RACE condition), but the exploitability metrics temper this significantly - AV:L means the attacker must already be executing inside a guest VM, AC:H reflects the difficulty of reliably winning the timing race between the framebuffer BAR I/O and the unsynchronized RFB rendering thread, and PR:L requires guest-level privilege. No EPSS score, KEV listing, or POC was provided in the input, and there is no public exploit identified at time of analysis - so there is no evidence of widespread or opportunistic exploitation. SSVC-style reasoning: technical impact is total (host userspace code execution / process crash), but exploitation is NOT automatable (requires a race win against a host component and guest tenancy) and is currently in the 'none observed' exploitation state. Net: this is a genuine priority for operators of MULTI-TENANT bhyve hosts where untrusted guests run with a VNC/framebuffer console, but it is not a mass-exploitation / internet-facing emergency. The Capsicum sandbox around bhyve further caps the blast radius of any successful code execution, which the vendor explicitly notes as a limiting factor.

Exploit ScenarioDerived

A malicious or already-compromised guest on a bhyve host that is configured with the VNC/framebuffer (fbuf) device writes arbitrary, oversized width and height values to the framebuffer BAR and races the unsynchronized RFB rendering thread, driving memory corruption in the host-side bhyve process. No public exploit was identified at time of analysis; success requires winning a timing-sensitive race (AC:H) from guest-level access (PR:L). The most reliable outcome is a crash (DoS) of the bhyve process, with potential-but-harder arbitrary code execution in the host userspace context, constrained by bhyve's Capsicum sandbox.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 15, 2026

FreeBSD's bhyve hypervisor contains a guest-to-host race condition and input-validation flaw in its framebuffer/VNC device model, allowing a guest with existing code execution to crash the bhyve process or potentially execute code in the host userspace context, subject to bhyve's Capsicum sandbox. Only VMs configured with the fbuf framebuffer/VNC device are exposed, affecting FreeBSD 14.4 before p11, 14.5 before p2, and 15.1 before p5, while headless or serial-only guests are not affected by this path. The CVSS 3.1 vector is AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, requiring guest-level privilege and a difficult timing race, and no public exploit identified at time of analysis.

RemediationAI

Apply the vendor-released patch: upgrade FreeBSD to 14.4-RELEASE p11 or later, 14.5-RELEASE p2 or later, or 15.1-RELEASE p5 or later, per the vendor advisory at https://security.freebsd.org/advisories/FreeBSD-SA-26:72.bhyve.asc. If patching must be delayed, remove or disable the fbuf framebuffer/VNC device from bhyve guest configurations that do not need graphical console access, which eliminates the vulnerable code path but sacrifices VNC/graphical console functionality and may require switching to serial or headless management. Restricting local administrative control over bhyve VM configuration and limiting VNC access to trusted users reduces exposure but does not remove the guest-to-host primitive once a guest is compromised; bhyve's Capsicum sandbox remains a compensating control but should not be relied on as the primary fix.

Affected VersionsENISA

FreeBSD 14.4-RELEASE <p11
FreeBSD 15.1-RELEASE <p5
FreeBSD 14.5-RELEASE <p2

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization) in bhyve's fbuf device, which emulates a framebuffer BAR and exposes an RFB/VNC rendering server to remote console clients. Maximum resolution constants were duplicated between the framebuffer and RFB modules and became inconsistent, and guest writes to the framebuffer BAR could set arbitrary width and height values without validation; moreover, the framebuffer BAR I/O thread and the RFB rendering thread were unsynchronized. A malicious guest that already has code execution can reach these MMIO writes, corrupt or crash the host-side bhyve process, and potentially gain code execution in the host userspace context, though bhyve's Capsicum sandbox constrains what a payload can do after that point. The CVSS 3.1 base score is 7.0 (High) with vector AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, reflecting local guest access, a high-complexity race, guest-level privilege, no user interaction, and high confidentiality, integrity, and availability impact; CPE cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* identifies the affected FreeBSD base system.

Know when Freebsd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (freebsd) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Attacker must run code inside a guest (AV:L, PR:L) and win a thread race (AC:H); successful host-process code execution yields full C/I/A, scope unchanged as impact stays in the sandboxed bhyve userspace.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (freebsd).

CVSS VectorVendor: freebsd

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Oct 15, 2026 - 14:22 NVD
7.0 (HIGH)
CVE Published
Oct 15, 2026 - 07:18 cve.org
HIGH 7.0
CVE Published
Oct 15, 2026 - 07:18 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

The framebuffer device model's maximum resolution constants were duplicated between the framebuffer and RFB modules and had gotten out of sync. Additionally, writes to the framebuffer BAR could set arbitrary width and height values without validation, and the framebuffer BAR I/O and RFB rendering threads were not synchronized.

A malicious guest can crash the bhyve process or potentially execute arbitrary code in the host userspace context running the virtual machine, subject to bhyve's Capsicum sandbox.

Executive ViewAI

Why It Matters

A flaw in FreeBSD's bhyve virtualization platform creates a pathway from a compromised guest to the host when the optional framebuffer/VNC console is enabled, threatening the isolation that multi-tenant or security-sensitive virtualization depends on. The exposure is limited to VNC-enabled guests on specific FreeBSD maintenance levels, and exploitation currently requires an attacker who already controls a privileged guest process and can win a timing race, with no public exploit identified at time of analysis. Because the issue can affect host integrity and availability, security leadership should treat VNC-exposed bhyve hosts as higher risk and move quickly to reduce the attack surface while tracking vendor remediation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable the fbuf framebuffer/VNC device model or switch affected VMs to headless/serial-only; restrict VNC access to trusted management networks; isolate VNC-enabled guests from sensitive workloads; limit guest administrative privileges; monitor bhyve crashes and host userspace anomalies; rely on bhyve's Capsicum sandbox only as defense-in-depth.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
FreeBSD common in infrastructure, but bhyve VNC-framebuffer hosts are a narrower subset
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2012-0217 HIGH POC
7.2 Jun 12

The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy