PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-70162: 
C# vulnerability analysis and mitigation

Overview

CVE-2026-70162 is a Denial of Service vulnerability in the Microsoft Common Object Runtime Library (.NET) that allows a remote unauthenticated attacker to cause CPU exhaustion in .NET web applications. Specifically, on Windows, EnvelopedCms.Decode in the System.Security.Cryptography.Pkcs package performs quadratic work when processing attacker-supplied CMS or PKCS#7 attributes, enabling pre-authentication CPU exhaustion. Affected products include System.Security.Cryptography.Pkcs (versions 8.0.0–8.0.1, 9.0.0–9.0.20, 10.0.0–10.0.12, 11.0.0-preview.1–11.0.0-rc.1), Microsoft Visual Studio 2022 version 17.14 (before 17.14.42), and Microsoft Visual Studio 2026 version 18.10 (before 18.10.4). The vulnerability was disclosed and patched on October 13, 2026, with a CVSS v3.1 base score of 5.9 (Medium) (Microsoft MSRC, GitHub Advisory).

Technical details

The root cause is classified as CWE-405 (Asymmetric Resource Consumption / Amplification): the EnvelopedCms.Decode method in System.Security.Cryptography.Pkcs performs quadratic-time processing when iterating over attacker-controlled CMS or PKCS#7 attributes on Windows, allowing a small crafted input to trigger disproportionately large CPU consumption. This is exploitable over the network without authentication or user interaction, though the attack complexity is rated High, suggesting specific conditions or crafting precision is required. The fix corrects how the .NET web application handles these web requests to eliminate the quadratic work pattern (GitHub Advisory, Microsoft MSRC).

Impact

Successful exploitation causes high availability impact against .NET web applications running on Windows that use the affected System.Security.Cryptography.Pkcs package, potentially rendering the application unresponsive or unavailable due to CPU exhaustion. There is no confidentiality or integrity impact — the vulnerability is limited to a denial of service condition. Self-contained applications compiled against affected package versions are also vulnerable and must be recompiled and redeployed (GitHub Advisory, Microsoft MSRC).

Exploitability

As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable with partial technical impact. The EPSS score is 0.0, reflecting a very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Mitigation and workarounds

Microsoft has released patched versions of all affected components: System.Security.Cryptography.Pkcs 8.0.2, 9.0.21, 10.0.13, and 11.0.0-rc.2; Microsoft Visual Studio 2022 version 17.14.42 or later; and Microsoft Visual Studio 2026 version 18.10.4 or later. Developers should update the NuGet package reference in their projects to a patched version and restart affected applications; self-contained applications must be recompiled and redeployed. As interim mitigations, implementing network-level rate limiting and request filtering can reduce exposure while patches are being deployed (GitHub Advisory, Microsoft MSRC).

Community reactions

The vulnerability was covered as part of the broader Microsoft October 2026 Patch Tuesday review by Zero Day Initiative and BleepingComputer, which noted it among a large batch of fixes. The vulnerability was acknowledged by Microsoft and credited to Dr.-Ing Ashar Javed (@soaj1664ashar) (GitHub Advisory). No significant independent researcher commentary or notable social media discussion specific to this CVE has been observed beyond standard patch Tuesday coverage.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

devel

dotnet10

Not Affected

jammy

dotnet6

Not Affected

noble

dotnet8

Not Affected

resolute

dotnet10

Not Affected

Alpine

Fixed

edge

dotnet10-runtime: 10.0.13-r0, 8.0.32-r0, 9.0.21-r0

Fixed

v3.22

dotnet8-runtime: 8.0.32-r0, 9.0.21-r0

Fixed

v3.23

dotnet10-runtime: 10.0.13-r0, 8.0.32-r0, 9.0.21-r0

Fixed

Source: This report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-96235HIGH8.8
  • C# logoC#
  • Microsoft.WindowsDesktop.App.Runtime.win-x64
NoYesOct 13, 2026
CVE-2026-96236HIGH7.5
  • C# logoC#
  • dotnet6
NoYesOct 13, 2026
CVE-2026-62847MEDIUM6
  • C# logoC#
  • Metalama.Tool
NoYesOct 14, 2026
CVE-2026-92707MEDIUM5.3
  • C# logoC#
  • dotnet10-runtime
NoYesOct 15, 2026
CVE-2026-96234MEDIUM5.3
  • C# logoC#
  • Microsoft.WindowsDesktop.App.Runtime.win-arm64
NoYesOct 13, 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