Google Project Zero finds CVE-2026-87268 bypass in VirtualBox process hardening
A flaw in how the .NET Framework handles assembly loading allows attackers to bypass VirtualBox's DLL loader hooks and execute arbitrary code in protected processes.
Summary
Research from Google Project Zero has identified a significant security vulnerability in Oracle VirtualBox on Windows, specifically targeting the mechanism used to protect virtual machine processes from host users. The researcher discovered three new bypasses for protected processes, including a critical flaw designated as CVE-2026-87268.
This specific vulnerability exploits a behavior in the .NET Framework v4 where the runtime falls back to a 'FlatImageLayout' if the initial image mapping fails. By forcing an error during the standard mapping process, an attacker can trick the system into loading a valid assembly as a data-only section, effectively evading VirtualBox's DLL loader hooks and signature verification checks.
Technical breakdown of CVE-2026-87268
- Vulnerability Mechanism: The flaw leverages the .NET Framework's fallback logic between
MappedImageLayoutandFlatImageLayoutduring assembly loading. - Bypass Technique: By causing
CreateFileMappingto fail withERROR_BAD_EXE_FORMATwhen using theSEC_IMAGEflag, the runtime switches to a mode that maps the file without executable pages, bypassing traditional image-based security hooks. - Security Evasion: Because the file is mapped as a data-only section rather than a standard PE image section, VirtualBox's implementation of DLL loader hooks fails to detect and block the untrusted binary.
- Affected Runtime: The research indicates this specific bypass behavior is present in .NET Framework v4, whereas older versions (v2, v3.5) utilize
LoadLibrarylater in the process, which prevents this specific exploitation path.
Why it matters
This discovery highlights the risks of relying on host-side DLL hooking for process isolation when managed runtimes like .NET are involved. For users of Oracle VirtualBox on Windows, it demonstrates that process hardening can be circumvented through unexpected interactions between the virtualization software and the underlying OS framework.
Original reference: projectzero.google →