Allocation of Resources Without Limits or Throttling Affecting bouncycastle.cryptography package, versions [,2.7.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (24th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-BOUNCYCASTLECRYPTOGRAPHY-20537023
  • published6 Oct 2026
  • disclosed2 Oct 2026
  • creditUnknown

Introduced: 2 Oct 2026

NewCVE-2026-63572  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade BouncyCastle.Cryptography to version 2.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to unbounded PKCS#12 iteration counts in Pkcs12Store.VerifyPbeMac and Pkcs12Utilities.ConvertToDefiniteLength. An attacker can exhaust CPU by supplying a crafted PKCS#12/PFX file with a very large iteration count in MacData or in the PBE parameters of an encrypted SafeContents or shrouded key bag, causing the loader to run the key-derivation loop before the MAC or password is checked.

CVSS Base Scores

version 4.0
version 3.1