VirtualBox SVGA use-after-free enables guest-to-host code execution
A use-after-free in VirtualBox’s SVGA subsystem can be exploited to achieve guest-to-host code execution.
Security & privacy Exodus Intelligence 15 Jun 2026 Attack Prototype evidence
Published as “Zombie COTables: Resurrecting Freed Memory to Escape VirtualBox”
Why it matters
The work shows that VirtualBox’s SVGA driver can be escaped, forcing a security patch and highlighting the risk of guest-controlled memory objects in hypervisors.
Summary
The researchers discovered a use-after-free bug in VirtualBox’s SVGA device where destroying a guest-backed memory object (MOB) leaves a dangling pointer in a Context-Object Table. By carefully allocating and freeing MOBs they reuse the freed memory to overwrite a VMSVGA3DDXCONTEXT structure, gaining arbitrary read/write primitives. Using these primitives they leak hypervisor addresses, overwrite function pointers, and execute a ROP chain that runs shellcode in the host process while keeping the guest VM alive. Their exploit works on a Linux host with about 70% reliability.
What they found 2
- Exploit reliability is around 70%
“In the tested setup the exploit reliability is around 70%.”
- COTable can retain a pointer to a freed MOB
“By exploiting this vulnerability it is possible to have a COTable entry that still points to a freed MOB.”
Caveats 3
- this part of the exploit is not 100% reliable as the heap layout for the six allocated MOBs depends on memory pressure on the hypervisor side.
- Exploit reliability is only about 70%, not guaranteed.
- Success depends on heap layout which varies with hypervisor memory pressure.
What’s new here 4
- First public disclosure of a use-after-free in VirtualBox’s SVGA subsystem.
- Demonstrates a full guest-to-host escape chain using COTable manipulation.
- Provides arbitrary read/write and information-leak primitives on the hypervisor.
- Shows a functional ROP chain to execute shellcode with ~70% success rate.