Single‑Bit .NET Manipulation (CVE‑2026‑87268) Bypasses Windows Code Integrity and VirtualBox Hardening
What It Is — Google Project Zero researcher James Forshaw disclosed a low‑level flaw in the .NET Framework loader that can be triggered by flipping a single bit in a managed PE (Portable Executable) file. The altered bit changes how the loader interprets the file’s metadata, causing the runtime to treat the binary as “trusted” even though it contains unverified code. Because Windows Code Integrity (CI) validates binaries based on their signed metadata, the malformed .NET image slips past CI’s signature check. The same loading quirk also defeats Oracle VirtualBox’s process‑hardening mechanism on Windows hosts, which relies on CI to block unsigned or tampered executables.
The vulnerability is catalogued as CVE‑2026‑87268. It is exploitable by a local attacker who can write to a .NET assembly on disk (for example, via a compromised service account or a malicious installer). By modifying just one bit, the attacker can launch arbitrary native code with the same privileges as the compromised process, effectively bypassing the operating system’s integrity enforcement.
Forshaw’s write‑up shows a step‑by‑step reproduction:
- Create a benign .NET assembly and sign it with a valid Authenticode certificate.
- Use a hex editor to flip a single bit in the CorFlags section of the PE header.
- Load the modified assembly with
Assembly.LoadFrom. The .NET runtime misinterprets the corrupted flag as “skip verification”, causing the loader to skip the CI signature check. - The process then executes native payloads embedded in the assembly, achieving code execution that would otherwise be blocked by CI or VirtualBox hardening.
Microsoft confirmed the issue and released an out‑of‑band patch for the .NET Framework (versions 4.8.1 and later) on 2026‑11‑12. The patch adds stricter validation of the CorFlags field and forces a re‑verification of the Authenticode signature after any header alteration. Oracle also issued an advisory urging VirtualBox users on Windows to update to version 7.0.12, which incorporates the same validation logic.
No public evidence suggests the flaw has been weaponized in the wild, and there are no reported data breaches or ransomware extortions linked to CVE‑2026‑87268. However, the attack surface is broad: any Windows workstation or server that runs .NET applications and permits local write access to binaries is potentially vulnerable.
Affected Products
- Microsoft .NET Framework 4.8 and earlier (Windows 10/11, Windows Server 2019/2022) – CVE‑2026‑87268
- Oracle VirtualBox 6.x/7.x on Windows hosts (process‑hardening component) – CVE‑2026‑87268
Why It Matters for Trust & Control Assurance
The flaw demonstrates how a tiny data‑corruption error can undermine software‑integrity controls that many compliance frameworks rely on. Verifying that only signed, untampered code runs is a core integrity‑of‑software control.
Recommended Actions
- Deploy Microsoft’s security update for the .NET Framework (or migrate to .NET 6+ where the loader has been rewritten).
- Update Oracle VirtualBox to 7.0.12 or later and re‑enable hardening.
- Conduct an inventory of all .NET binaries on critical systems and scan for unexpected header modifications.
- Enable Windows Event Log auditing for
CodeIntegrityevents and integrate the logs into a SIEM for continuous monitoring. - Document the remediation steps and retain evidence of patch deployment to satisfy audit requirements.