CVE-2026-32203
C# vulnerability analysis and mitigation

Overview

CVE-2026-32203 is a stack-based buffer overflow vulnerability in Microsoft .NET and Visual Studio that allows an unauthenticated remote attacker to trigger a Denial of Service (DoS) condition. The flaw occurs during encrypted key nested decryption (EncryptedKey processing), where improper input validation leads to a stack overflow that crashes the affected application. Affected products include .NET 8.0.0–8.0.25, .NET 9.0.0–9.0.14, .NET 10.0.0–10.0.5, Visual Studio 2022 versions 17.12.0–17.12.18, and Visual Studio 2022 versions 17.14.0–17.14.29. Disclosed on April 14, 2026, as part of Microsoft's April 2026 Patch Tuesday, it carries a CVSS v3.1 base score of 7.5 (High) (Microsoft MSRC, Red Hat Bugzilla).

Technical details

The vulnerability is rooted in improper input validation (CWE-20) during the processing of nested EncryptedKey XML structures in .NET's cryptographic libraries, resulting in a stack-based buffer overflow (CWE-121) and out-of-bounds write (CWE-787). An attacker can craft a malicious payload with deeply nested encrypted key structures that, when processed by the .NET runtime's decryption logic, exhausts the call stack and causes an unhandled stack overflow exception. No authentication or user interaction is required, and the attack is network-accessible with low complexity. No public proof-of-concept code has been identified at this time (Microsoft MSRC, Red Hat Bugzilla).

Impact

Successful exploitation results exclusively in a Denial of Service — the affected .NET application or service crashes due to a stack overflow, rendering it unavailable to legitimate users. There is no impact on confidentiality or integrity, as the CVSS vector reflects high availability impact only (C:N/I:N/A:H). Any internet-facing .NET application that processes XML-based encrypted key material (e.g., WS-Security, XML Encryption) is potentially at risk, and repeated exploitation could sustain a prolonged outage (Microsoft MSRC).

Exploitability

There is no evidence of public proof-of-concept exploit code or active in-the-wild exploitation as of the time of disclosure. The EPSS score is approximately 0.139%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (Microsoft MSRC).

Exploitation steps

  1. Reconnaissance: Identify internet-facing services built on .NET 8.0, 9.0, or 10.0 that process XML Encryption or WS-Security messages containing EncryptedKey elements (e.g., SOAP web services, WCF endpoints).
  2. Craft malicious payload: Construct an XML document containing deeply nested <EncryptedKey> elements within the XML Encryption namespace, designed to trigger recursive decryption calls that exhaust the .NET runtime's call stack.
  3. Deliver payload: Send the crafted XML payload to the target endpoint via HTTP/HTTPS POST or any other supported transport, without requiring authentication credentials.
  4. Trigger stack overflow: The .NET runtime's EncryptedKey decryption logic recursively processes the nested structure, causing a stack overflow exception that crashes the application process.
  5. Achieve DoS: The target service becomes unavailable; repeated requests can sustain the outage until the service is restarted or patched (Microsoft MSRC, Red Hat Bugzilla).

Indicators of compromise

  • Logs: Unhandled StackOverflowException entries in .NET application logs or Windows Event Log (Application log, Event ID 1000/1026) correlated with inbound network requests; repeated application crash/restart cycles.
  • Network: Unusual inbound HTTP/HTTPS POST requests containing large or deeply nested XML payloads targeting SOAP or WCF endpoints; requests with abnormally large Content-Length headers from unexpected source IPs.
  • Process: Sudden termination of .NET worker processes (e.g., dotnet.exe, w3wp.exe) without user-initiated shutdown; high-frequency process restarts observed in process monitoring tools.
  • File System: Crash dump files (.dmp) generated in the application directory or %LOCALAPPDATA%\CrashDumps following service crashes, potentially containing stack traces referencing EncryptedKey decryption routines.

Mitigation and workarounds

Microsoft released patches on April 14, 2026. Organizations should update to the following fixed versions immediately: .NET 8.0.26 or later, .NET 9.0.15 or later, .NET 10.0.6 or later, Visual Studio 2022 17.12.19 or later, and Visual Studio 2022 17.14.30 or later. Red Hat Enterprise Linux users should apply the corresponding errata (RHSA-2026:8467 through RHSA-2026:8475 and subsequent updates). Ubuntu users should apply USN-8176-1. As a temporary workaround where patching is not immediately possible, implement network-level controls (WAF rules, input size limits) to restrict oversized or deeply nested XML payloads, and consider disabling XML Encryption processing if not required by the application (Microsoft MSRC, Red Hat Bugzilla).

Community reactions

The vulnerability was covered as part of Microsoft's April 2026 Patch Tuesday, which addressed 167 flaws in total, drawing broad coverage from security outlets including BleepingComputer and Computerworld. The Zero Day Initiative (ZDI) included it in their April 2026 security update review. Red Hat promptly issued multiple errata within two days of disclosure, and Ubuntu released USN-8176-1 shortly after. Community sentiment treats this as a routine but important patch given the network-accessible, unauthenticated attack vector, though the DoS-only impact limits urgency compared to RCE vulnerabilities in the same Patch Tuesday batch (BleepingComputer, ZDI, Microsoft .NET Blog).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54632HIGH7.5
  • C# logoC#
  • SIPSorcery
NoYesJul 28, 2026
CVE-2026-62363MEDIUM5
  • C# logoC#
  • Magick.NET-Q8-x64
NoYesJul 30, 2026
CVE-2026-62946MEDIUM4.7
  • C# logoC#
  • ImageMagick-config-7-upstream-limited
NoYesJul 30, 2026
CVE-2026-62343MEDIUM4.7
  • C# logoC#
  • Magick.NET-Q16-HDRI-arm64
NoYesJul 30, 2026
GHSA-464c-974j-9xm6LOW3.3
  • JavaScript logoJavaScript
  • software.amazon.awscdk:aws-cdk-lib
NoYesJul 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management