CVE-2026-63578: Legion of the Bouncy Castle bc-csharp · Unthrottled Resource Allocation
Affects Legion of the Bouncy Castle bc-csharpSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 2.7.0 soon.
Data as of 15 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.
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Limited control over the software or limited information exposure
CISA SSVC assessment, 2026-10-06.
- 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 15 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
Upgrade bc-csharp to version 2.7.0 or later, where this vulnerability is fixed by enforcing limits on the iteration count during password-based private-key decryption. No other mitigations are indicated or required.
Description
CVE-2026-63578 is a resource exhaustion vulnerability in the Legion of the Bouncy Castle Inc. bc-csharp library before version 2.7.0. It occurs in the password-based private-key decryption function (PbeUtilities.GenerateCipherParameters) where an attacker can supply an encrypted private key with an iteration count near 2^31. This count is taken from unauthenticated algorithm parameters without an upper bound, causing excessive CPU consumption and denial of service. The vulnerability affects PKCS#5 PBES1 and PBES2 (PBKDF2), PKCS#12 PBE algorithms, and CMS password recipients. The issue is fixed in version 2.7.0.
References
- github.com/bcgit/bc-csharp/wiki/CVE-2026-63578 (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/7c0ed15f9783c9595b1a53f3900136461fd944f4 (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)