PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-77178: 
VirtualBox vulnerability analysis and mitigation

Overview

CVE-2026-77178 is a heap out-of-bounds write vulnerability in Oracle VM VirtualBox affecting versions before 7.2.8, specifically in the PCNet (Am79C970A) network device emulation. The flaw resides in the pcnetReceiveNoSync function within DevPCNet.cpp, allowing guest OS users to corrupt host OS memory. It was published on October 6, 2026, with a patch available in VirtualBox 7.2.8. The vulnerability carries a CVSS v3.1 base score of 9.1 (Critical) (Github Advisory, Feedly).

Technical details

The root cause is an out-of-bounds write (CWE-787) in the PCNet network device emulation. The receive write cursor is initialized to &pThis->abRecvBuf[8], leaving only 4,088 usable bytes in the 4,096-byte abRecvBuf. A guest using internal loopback mode (CSR15 LOOP) with a chained transmit descriptor ring can drive a 4,096-byte frame into the receive path, causing the subsequent copy plus a 4-byte FCS store to write up to 12 guest-controlled bytes past the buffer into adjacent host-side device state. The fix in VirtualBox 7.2.8 moves the write cursor to the buffer base (pThis->abRecvBuf), eliminating the offset. A technical write-up is publicly available via a GitHub Gist by researcher entropy1337 (entropy1337 Gist).

Impact

Successful exploitation allows a malicious or compromised guest OS to corrupt host-side device state adjacent to the PCNet receive buffer within the VirtualBox host process, constituting a guest-to-host memory-safety violation. The primary impacts are high integrity and high availability on the host — potentially enabling arbitrary code execution or system corruption on the host machine — while confidentiality impact is assessed as none. This represents a hypervisor escape scenario, where an attacker with control of a guest VM could pivot to compromise the host system and any other VMs running on it (Github Advisory, entropy1337 Gist).

Exploitability

As of the disclosure date, there is no evidence of active in-the-wild exploitation or a weaponized public proof-of-concept exploit (Feedly). A technical write-up describing the vulnerability mechanics in detail is publicly available via a GitHub Gist, which could lower the barrier for exploit development. The EPSS score is approximately 0.339% (26th percentile), indicating a relatively low near-term exploitation probability. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The attack is classified as automatable with no privileges or user interaction required, making it a high-priority patching target (Github Advisory).

Exploitation steps

  1. Gain guest OS access: Obtain execution capability within a guest VM running on a vulnerable VirtualBox host (version before 7.2.8) with the PCNet (Am79C970A) NIC emulation enabled.
  2. Configure PCNet loopback mode: From within the guest, set the PCNet controller's CSR15 register to enable internal loopback (LOOP bit), which routes transmitted frames back into the receive path without leaving the emulated NIC.
  3. Craft a chained transmit descriptor ring: Set up a transmit descriptor ring with chained descriptors that describe a 4,096-byte frame, exploiting the lack of an effective size bound in the receive path under loopback.
  4. Trigger the out-of-bounds write: Initiate the transmission. The pcnetReceiveNoSync function copies the frame into abRecvBuf starting at offset 8, and appends a 4-byte FCS, writing up to 12 bytes past the end of the 4,096-byte buffer into adjacent host-side device state.
  5. Achieve host memory corruption: The overwritten adjacent memory contains guest-controlled data, enabling corruption of host process state. With further exploitation primitives, this could be leveraged toward arbitrary code execution on the host (entropy1337 Gist).

Indicators of compromise

  • Process: Unexpected crashes or memory corruption errors in the VirtualBox host process (VBoxSVC, VBoxHeadless, or VirtualBoxVM) associated with PCNet device emulation.
  • Logs: VirtualBox log files (VBox.log) showing assertion failures, heap corruption messages, or crashes in DevPCNet.cpp or pcnetReceiveNoSync.
  • Network: Unusual internal loopback traffic patterns on the emulated PCNet NIC within a guest VM, particularly large frames (~4,096 bytes) sent in rapid succession.
  • File System: Core dump files or crash reports generated by the VirtualBox host process in unexpected locations, potentially indicating exploitation attempts.

Mitigation and workarounds

Oracle has released VirtualBox 7.2.8, which corrects the vulnerability by moving the PCNet receive write cursor to the buffer base, eliminating the out-of-bounds write condition. Users should upgrade to VirtualBox 7.2.8 or later as the primary remediation. As interim mitigations, administrators should avoid using the PCNet (Am79C970A) NIC model for untrusted guest VMs (switching to the E1000 or VirtIO adapter instead), restrict network access to VirtualBox instances, and isolate untrusted guest VMs from critical host systems (Github Advisory, entropy1337 Gist).

Community reactions

The vulnerability was documented in a detailed technical write-up by researcher entropy1337 via a public GitHub Gist, which describes the precise buffer arithmetic and exploitation mechanics (entropy1337 Gist). The GitHub Advisory Database has classified it as Critical severity. No significant broader media coverage or notable vendor statements beyond the patch release have been identified at this time.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

sid

virtualbox: 7.2.8-dfsg-1

Fixed

Ubuntu

Unknown

bionic (esm-apps)

virtualbox

Unknown

devel

virtualbox

Unknown

focal (esm-apps)

virtualbox

Unknown

jammy

virtualbox

Unknown

jammy (esm-apps)

virtualbox

Unknown

noble

virtualbox

Unknown

noble (esm-apps)

virtualbox

Unknown

resolute

virtualbox

Unknown

Source: This report was generated using AI

Related VirtualBox vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-87322NONEN/A
  • VirtualBox logoVirtualBox
  • cpe:2.3:a:oracle:vm_virtualbox
NoNoOct 20, 2026
CVE-2026-87311NONEN/A
  • VirtualBox logoVirtualBox
  • cpe:2.3:a:oracle:vm_virtualbox
NoNoOct 20, 2026
CVE-2026-87303NONEN/A
  • VirtualBox logoVirtualBox
  • cpe:2.3:a:oracle:vm_virtualbox
NoNoOct 20, 2026
CVE-2026-87301NONEN/A
  • VirtualBox logoVirtualBox
  • cpe:2.3:a:oracle:vm_virtualbox
NoNoOct 20, 2026
CVE-2026-101599NONEN/A
  • VirtualBox logoVirtualBox
  • cpe:2.3:a:oracle:vm_virtualbox
NoNoOct 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management