CVE-2026-63568 Unbounded CMP/CRMF password-based MAC iteration count allows CPU exhaustion

High 8.7 Published Updated

Remote attackers can cause CPU exhaustion and denial of service in bc-csharp by sending CMP/CRMF messages with excessive password-based MAC iteration counts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-63568?

CVE-2026-63568 is a high-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. bc-csharp, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-770

Which versions are affected by CVE-2026-63568?

It affects 1 product.

Products include Bouncycastle Bc-Csharp.

How do I fix CVE-2026-63568?

No fix has been published for CVE-2026-63568 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-63568 being exploited?

There is no known exploitation of CVE-2026-63568 in the wild and no public exploit code.

Sources

Also known as GHSA-mm8p-p4g9-932c.

Is CVE-2026-63568 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free