CVE-2026-70162: .NET System.Security.Cryptography.Pkcs denial of service

CVE-2026-70162 · Severity: medium · CVSS 5.9 · Published 2026-10-13

Microsoft's .NET cryptography library contains a flaw in how it processes digitally signed messages (CMS/PKCS#7 format) that allows attackers to exhaust CPU resources before authentication occurs. An attacker can send specially crafted signed messages to trigger excessive processing, causing the application to become unresponsive and potentially leading to service denial.

Technologies: System.Security.Cryptography.Pkcs (NuGet). Vendors: Microsoft, NuGet.

Quick answers

Is CVE-2026-70162 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-70162 being exploited in the wild.
How severe is CVE-2026-70162?
Medium severity, with a CVSS score of 5.9, published 13 October 2026.
Which products and versions are affected?
Microsoft System.Security.Cryptography.Pkcs 8.0.0 through 8.0.1, 9.0.0 through 9.0.20, 10.0.0 through 10.0.12, 11.0.0-preview.1 through 11.0.0-rc.1; System.Security.Cryptography.Pkcs (NuGet) >= 10.0.0, <= 10.0.12, ECOSYSTEM:introduced=10.0.0,fixed=10.0.13.
Is there a fix for CVE-2026-70162?
Yes. System.Security.Cryptography.Pkcs (NuGet): upgrade to 10.0.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-70162 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-70162?
Check whether you run Microsoft System.Security.Cryptography.Pkcs or System.Security.Cryptography.Pkcs (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • System.Security.Cryptography.Pkcs (NuGet): upgrade to 10.0.13 or later
    dotnet add package System.Security.Cryptography.Pkcs --version 10.0.13

Technical details

The EnvelopedCms.Decode method in System.Security.Cryptography.Pkcs performs quadratic-time work when processing attacker-supplied CMS or PKCS#7 attributes on Windows, enabling pre-authentication CPU exhaustion via asymmetric resource consumption (CWE-405). An unauthenticated network attacker with the ability to send malicious CMS messages can trigger excessive CPU consumption. The vulnerability affects multiple versions across .NET 8.0, 9.0, 10.0, and 11.0 pre-release branches.

Affected products

  • Microsoft System.Security.Cryptography.Pkcs 8.0.0 through 8.0.1, 9.0.0 through 9.0.20, 10.0.0 through 10.0.12, 11.0.0-preview.1 through 11.0.0-rc.1

Identifiers

  • CVE-2026-70162
  • GHSA-2fmv-rv2c-59x7

Timeline

  • 2026-10-13: disclosed

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.