CVE-2026-63572: Legion of the Bouncy Castle bc-csharp · Unthrottled Resource Allocation
Affects Legion of the Bouncy Castle bc-csharpSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.1 High : upgrade to 2.7.0 soon.
Data as of 16 Nov 2026, 20:25 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.7.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade bc-csharp and BouncyCastle.Cryptography to 2.7.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Legion of the Bouncy Castle Inc.bc-csharp | Affected
| Fixed in
|
NuGetBouncyCastle.Cryptographypkg:nuget/BouncyCastle.CryptographyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in bc-csharp version 2.7.0 and later. Users should upgrade to version 2.7.0 or newer to remediate this vulnerability. No other mitigation or temporary workaround is indicated in the provided data.
Description
CVE-2026-63572 is a high-severity vulnerability in Legion of the Bouncy Castle Inc.'s bc-csharp library before version 2.7.0. It involves allocation of resources without limits during PKCS#12 keystore loading, allowing an attacker to cause denial of service via CPU exhaustion by supplying a specially crafted PKCS#12 file with a very high iteration count. This iteration count is used in key derivation before password verification, leading to excessive CPU usage. The vulnerability affects the Pkcs12Store.Load method and Pkcs12Utilities.ConvertToDefiniteLength. Versions from 0 up to but not including 2.7.0 are affected.
References
- github.com/bcgit/bc-csharp/wiki/CVE-2026-63572 (opens in a new tab)
- github.com/bcgit/bc-csharp/commit/7c0ed15f9783c9595b1a53f3900136461fd944f4 (opens in a new tab)
- github.com/bcgit/bc-csharp/commit/c00fc018fca89c077c64dd2a2a2eb00ae7d97241 (opens in a new tab)
- github.com/bcgit/bc-csharp/commit/54ea0b179ee627027829b44c45d6dd32e575bd67 (opens in a new tab)
- github.com/bcgit/bc-csharp/commit/34a7c05f719c91c024f285c6b420d3c00f8019dd (opens in a new tab)
- github.com/bcgit/bc-csharp/commit/b57165ecb7790ecea08273b219d52d80c12990e4 (opens in a new tab)