Categories
CVE-2026-70162 medium CVSS 5.9

Vulnerability in Microsoft System.Security.Cryptography.Pkcs (CVE-2026-70162)

Summary

Vulnerability in Microsoft System.Security.Cryptography.Pkcs (CVE-2026-70162). Risk of unauthorized operations or information disclosure. Exploitable via EnvelopedCms.Decode. Mitigation: upgrade to 9.0.21 or later.

Original description

The description as published by the source.

Executive summary

Microsoft is releasing this security advisory to provide information about a vulnerability in System.Security.Cryptography.Pkcs. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.

On Windows, EnvelopedCms.Decode can perform quadratic work while processing attacker-supplied CMS or PKCS#7 attributes, causing pre-authentication CPU exhaustion.

Announcement

Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/454

CVSS Details

  • Version: 3.1
  • Severity: Moderate
  • Score: 5.9
  • Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Weakness: CWE-405 (Asymmetric Resource Consumption (Amplification))

Affected Platforms

  • Platforms: Windows
  • Architectures: All

Affected Packages

The vulnerability affects Microsoft .NET projects that use an affected package version listed below.

Package name Affected version Patched version
System.Security.Cryptography.Pkcs >= 10.0.0, <= 10.0.12 10.0.13
System.Security.Cryptography.Pkcs >= 11.0.0-preview.1, <= 11.0.0-rc.1 11.0.0-rc.2
System.Security.Cryptography.Pkcs >= 8.0.0, <= 8.0.1 8.0.2
[System.Securi…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-70162 has been found in Microsoft System.Security.Cryptography.Pkcs.
Attackers can target a specific entry point like EnvelopedCms.Decode over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 5.9/10.
What to do: upgrade Microsoft System.Security.Cryptography.Pkcs to 9.0.21 or later.
If unsure, ask your IT team or search "Microsoft System.Security.Cryptography.Pkcs CVE-2026-70162" on the vendor's site.

CVE-2026-70162 (Microsoft System.Security.Cryptography.Pkcs) — CWE-405 / CVSS v3 5.9
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: EnvelopedCms.Decode
Patched: 9.0.21 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

A vulnerability (CWE-405) exists in Microsoft System.Security.Cryptography.Pkcs. Attackers reach the vulnerable code path via EnvelopedCms.Decode without authentication.

📍 Affected scope

Check the vendor advisory for the affected versions of Microsoft System.Security.Cryptography.Pkcs. Attack surface: EnvelopedCms.Decode.

🔥 Severity

Severity: Medium (CVSS 5.9/10). Risk of unauthorized operations or information disclosure.

🔧 How to fix

Update to 9.0.21.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'System.Security.Cryptography.Pkcs' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r 'System.Security.Cryptography.Pkcs' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で System.Security.Cryptography.Pkcs を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade Microsoft System.Security.Cryptography.Pkcs to 9.0.21

    ステージング環境で 9.0.21 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

nuget System.Security.Cryptography.Pkcs
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.21"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details