Allocation of resources without limits or throttling in the CMP/CRMF password-based MAC verifier (PKMacBuilder) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthentica…
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.36%
- Published
- Oct 2, 2026
- In the news
- Not yet
What to do
A serious security flaw in Bouncycastle Bc-csharp and Legion Of The Bouncy Castle Bc-csharp that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 2.7.0
Affected versions
- Legion Of The Bouncy Castle Bc-csharp
- Before 2.7.0
Description
Allocation of resources without limits or throttling in the CMP/CRMF password-based MAC verifier (PKMacBuilder) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker to cause a denial of service through CPU exhaustion via a CMP message or CRMF certificate request whose PBMParameter declares a very large iteration count, because PKMacBuilder enforced its iteration-count ceiling only when the caller had supplied an explicit maximum through the PKMacBuilder(IPKMacPrimitivesProvider, int) constructor. With any other constructor, ProtectedPkiMessage.Verify and CertificateRequestMessage.IsValidSigningKeyPop performed as many hash iterations as the sender requested, up to about 2^31, before the MAC could be checked.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-63568 published (CVSS 7.5) (Oct 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Oct 2, 2026
- CVECVE-2026-63568 published (CVSS 7.5)CVE Program · 07:16 UTC
References 4
- github.com Patch /bcgit/bc-csharp/commit/10a9862fad04bb0c832a78b10e71d9818d6d1a63
- github.com Patch /bcgit/bc-csharp/commit/65283bae66843d0d3c13c5e0272dbbe1c0d6aa04
- github.com Patch /bcgit/bc-csharp/commit/d16f08a53dd0a78eb3310bbe80c947c7e1677290
- github.com PatchVendor Advisory /bcgit/bc-csharp/wiki/CVE-2026-63568