The vulnerability, identified as CVE-2026-96234, is a collection of security weaknesses in the Windows Presentation Foundation (WPF) component of .NET. The core issues stem from insufficient validation of untrusted inputs in several areas, leading to information disclosure, denial of service, and potential code execution under specific circumstances.
My analysis of the patch commits revealed several key areas of vulnerability:
-
DNS Rebinding in Credential Handling: The DefaultCredentialsZonePolicy.AllResolvedAddressesAreLocalOrPrivate function cached DNS lookups for determining if a host was on the local network. By caching positive results, an attacker could use a DNS rebinding attack to trick the application into sending default credentials to a malicious server.
-
Unsafe URI Handling in XAML: The RestrictiveXamlXmlReader.Read function failed to block URIs pointing to local or UNC paths within a restrictively loaded XAML file. This allowed an attacker to craft a XAML file that could access and display local files or interact with malicious network shares.
-
Navigation Bypass: The NavigationService.OnRequestNavigate function had inadequate checks to determine if a navigation request (like a hyperlink click) originated from untrusted content. This could allow a malicious XPS document to bypass security restrictions and navigate to a dangerous location.
-
Denial of Service via XAML/Font Parsing: Both the XamlPullParser.P_Element function (for XAML) and the native GetComponentGlyphList function (for TrueType fonts) lacked recursion depth checks. This made them vulnerable to stack overflow crashes when processing maliciously crafted files with deeply nested structures, leading to a denial of service.
-
XPS Signature Spoofing: The XpsDigitalSignature class did not perform cryptographic binding of the signature's ID, allowing an attacker to reuse a valid signature on malicious content within an XPS document.
The identified vulnerable functions are the specific methods where these validation checks were missing. Exploitation would involve tricking a user into opening a malicious XAML, XPS, or font file, which would then trigger these vulnerable functions at runtime.