Get DeafLetter
A weekly selection of signals, vulnerabilities and guides. Critical alerts remain optional.
You can unsubscribe at any time. Privacy policy.
Google Project Zero researcher James Forshaw has published an analysis of a bypass technique that exploits .NET Framework v4's fallback assembly loading to execute unsigned code under protections designed to block it. The same technique defeated two independent mechanisms: VirtualBox process hardening, fixed in September 2026, and Windows Code Integrity, patched in October 2026 with a variant that, according to Forshaw, should still work against Protected Process Light (PPL) processes.
Source limitations: the original Project Zero blog post does not display a visible date in the extracted text; the timeline relies on convergent secondary sources. No dedicated CVE.org or NVD record for CVE-2026-108398 appears in the consulted sources.
- Clearing the IMAGE_FILE_EXECUTABLE_IMAGE bit in a .NET file's PE header forces the runtime to use FlatImageLayout instead of MappedImageLayout, skipping the checks that expect a mapped executable image with SEC_IMAGE.
- The bypass worked on Windows 11 S Mode with User Mode Code Integrity (UMCI) active and allowed code execution in a maximum-protection PPL process without administrator privileges.
- Oracle fixed CVE-2026-87268 in VirtualBox 7.2.18, released September 15, 2026; Microsoft released the patch for CVE-2026-108398 on October 13, 2026, but the fix does not cover the PPL path.
- Per NVD and CVE.org, CVE-2026-87268 carries a CVSS 3.1 score of 7.8 HIGH with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; Microsoft assigned CVSS 8.8 to CVE-2026-108398.
The Mechanism: When Fallback Becomes a Side Door
The core of the technique lies in a behavior of the .NET Framework v4 runtime. When the PEImageLayout::Map method attempts to create a mapped executable image via MappedImageLayout with the SEC_IMAGE flag, the operating system may return ERROR_BAD_EXE_FORMAT. In that specific case, the runtime does not fail: it silently falls back to FlatImageLayout, which maps the file as data with PAGE_READONLY protection.
This fallback has a critical consequence for the security chain. Image-load interception mechanisms — such as the one VirtualBox implements on NtCreateSection — expect to see SEC_IMAGE or SEC_PROTECTED_IMAGE to trigger integrity checks. FlatImageLayout uses neither: the fImage field remains false and the supR3HardenedScreenImage check is never executed.
Forshaw documented the flow in CLR.DLL code. MappedImageLayout creation fails; the runtime instantiates FlatImageLayout; the code loads and executes without passing through the gatekeepers the system considered mandatory.
VirtualBox: An AnyCPU PE That Evades the Parser
For the VirtualBox path, Forshaw used a .NET file compiled as AnyCPU with a 32-bit PE header. The VirtualBox parser encounters VERR_LDR_ARCH_MISMATCH, returns STATUS_INVALID_IMAGE_FORMAT, and .NET triggers the FlatImageLayout fallback. The result: unsigned code running inside the protected VirtualBox process, leading to VM process takeover.
Oracle assigned CVE-2026-87268 to this vulnerability. Per NVD, the affected product is Oracle VM VirtualBox 7.2.16 on Windows hosts; CVE.org confirms the takeover assessment. Version 7.2.18, released September 15, 2026, contains the fix.
"This single bit change is all you need to load an untrusted .NET assembly" — James Forshaw, Google Project Zero
Windows Code Integrity: One Bit Cleared, an Entire Model at Risk
The Windows path is even more minimal. Forshaw demonstrated that clearing a single bit — the IMAGE_FILE_EXECUTABLE_IMAGE flag in the PE header — is sufficient to make the executable mapping mechanism reject the file, while .NET Framework continues to load and execute it via FlatImageLayout. The OS sees a file that is not an executable image; the runtime executes it anyway.
The researcher successfully tested this technique on Windows 11 S Mode with User Mode Code Integrity (UMCI) active. S Mode is designed to run only applications signed and verified by the Microsoft Store or trusted publishers; UMCI is the mechanism that enforces this policy. According to Forshaw's analysis, a logic error in .NET's internal policy check allowed the file to load despite UMCI.
Microsoft fixed this flaw with CVE-2026-108398, patch released October 13, 2026. Per THN and Lavx, the vendor classifies the vulnerability as a local, low-privilege security feature bypass with CVSS 8.8. For Windows 11 version 26H2, the patch is identified as KB5127694. No exploitation in attacks has been documented.
The PPL Bypass: The October Fix Is Not Enough
Forshaw extended the same technique to execute code in a Protected Process Light (PPL) at the maximum protection level — without administrator privileges, via COM hijacking of WerSecureFault.exe. PPL processes are designed to isolate critical security code; their compromise exposes a limit of the isolation model when the loading runtime does not consistently verify images.
According to Forshaw's quote reported by THN: "The October fix corrects the policy check for UMCI but does not change loading for protected processes, so that PPL route should still work." This means the October 2026 update fixes the bypass in S Mode but, per the researcher, the path on protected processes should still work.
Editorial Analysis: DeafNews Perspective
The following section interprets the technical data published by Forshaw and expresses a DeafNews editorial assessment, not a reconstruction of facts documented in the primary source.
The mechanism Forshaw uncovered raises a question about .NET Framework v4's runtime design. The fallback from MappedImageLayout to FlatImageLayout was conceived to ensure compatibility when a file cannot be mapped as an executable image, but this same tolerance creates an attack surface when security controls expect the mandatory passage through SEC_IMAGE.
The case is notable because a single bit — not a complex exploit chain — triggers the sequence. The source does not specify whether Microsoft will modify FlatImageLayout behavior in future updates; Forshaw's statement on PPL uses the conditional "should still work," not a confirmation of repeated post-patch testing.
The link between the two bypasses — VirtualBox and Windows — lies in the same design assumption: that .NET Framework v4 handles the fallback without notifying security systems that rely on SEC_IMAGE as a control signal. Both vendors had to intervene on their own interception mechanisms, not on the .NET runtime itself.
What to Do Now
For administrators managing Windows systems with VirtualBox or with active UMCI/S Mode protections, the actions documented in the sources are as follows.
Update VirtualBox to version 7.2.18 or later on Windows hosts: Oracle released the fix on September 15, 2026. Verify the installed version is not 7.2.16, identified as affected by CVE-2026-87268.
Apply the Microsoft October 2026 patch for CVE-2026-108398: for Windows 11 26H2, the patch is KB5127694. The source does not specify KBs for other Windows versions; check the Microsoft catalog for your build.
Assess that the October fix does not cover the PPL path: the source reports no documented mitigations for this scenario. Environments that rely on PPL for critical process isolation must consider that, per Forshaw, the technique should still work on this class of processes.
Monitor .NET processes that load assemblies with FlatImageLayout: the source does not specify detection tools, but the fallback behavior is documented in the CLR.DLL code analyzed by Forshaw.
Editorial Close
Forshaw's work demonstrates that the complexity of runtime loading mechanisms can hide elegant, minimal bypasses. A single bit in the PE header sufficed to separate OS behavior from runtime behavior, creating a window that two independent security systems failed to catch.
The difference between "patched" and "fully resolved" is the theme emerging from the data: VirtualBox and Windows Code Integrity received fixes, but the PPL path — according to the same researcher who discovered the technique — remains open. For anyone assessing risk, this distinction is the most relevant datum of the case.
Sources
- thehackernews.com
- luckytimbervale.com
- news.lavx.hu
- projectzero.google
- radar.offseq.com
- nvd.nist.gov
- cve.org
- support.microsoft.com
Get DeafLetter
A weekly selection of signals, vulnerabilities and guides. Critical alerts remain optional.
You can unsubscribe at any time. Privacy policy.