CVE-2026-63575: Legion of the Bouncy Castle bc-csharp · Infinite Loop
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.2% chance of exploitation in 30 days – higher than 13% 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 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
A fixed version 2.7.0 or later of bc-csharp addresses this issue. Users should upgrade to version 2.7.0 or above to remediate this vulnerability. sources. Until upgraded, avoid processing untrusted PKCS#12 or PKCS#8 files with potentially manipulated iteration counts.
Description
CVE-2026-63575 is a high-severity vulnerability in Legion of the Bouncy Castle Inc.'s bc-csharp library before version 2.7.0. It involves an infinite loop in the PKCS#12 key derivation process (Pkcs12ParametersGenerator) triggered by an iteration count of zero or below. An attacker supplying a crafted PKCS#12 (PFX) file or PKCS#8 encrypted private key with a negative or zero iteration count can cause CPU exhaustion, resulting in a denial of service. The loop counter wraps around causing approximately 2^32 iterations before the password or MAC is checked, significantly delaying processing. This affects versions from 0 up to but not including 2.7.0.