Asymmetric Resource Consumption Affecting system.security.cryptography.pkcs package, versions [,8.0.2)[9.0.0-preview.1.24080.9,9.0.21)[10.0.0-preview.1.25080.5,10.0.13)[11.0.0-preview.1.26104.118,11.0.0-rc.2.26504.105)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.77% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-SYSTEMSECURITYCRYPTOGRAPHYPKCS-20935725
  • published14 Oct 2026
  • disclosed13 Oct 2026
  • creditDr.-Ing Ashar Javed

Introduced: 13 Oct 2026

NewCVE-2026-70162  (opens in a new tab)
CWE-405  (opens in a new tab)

How to fix?

Upgrade System.Security.Cryptography.Pkcs to version 8.0.2, 9.0.21, 10.0.13, 11.0.0-rc.2.26504.105 or higher.

Overview

Affected versions of this package are vulnerable to Asymmetric Resource Consumption in the EnvelopedCms.Decode method, which performs quadratic work while processing the attributes of a CMS or PKCS#7 message. An attacker can exhaust CPU on the host before any authentication step by submitting an enveloped message whose attribute set is sized to maximize that work. This affects Windows only, across all architectures, and requires an application that decodes CMS or PKCS#7 input it does not control.

CVSS Base Scores

version 4.0
version 3.1