CVE Catalog

CVE-2026-63568

HighCVSS 8.7
Published: Translated: NVD NIST

Summary

In bc-csharp before 2.7.0, the CMP/CRMF password-based MAC verifier (PKMacBuilder) does not limit iteration count unless an explicit maximum is provided. A remote attacker can send a CMP message or CRMF request with a very large iteration count, causing CPU exhaustion and denial of service.

Risk Assessment

An attacker can cause service unavailability by exhausting CPU resources, potentially disrupting systems using bc-csharp.

Recommendation

Update bc-csharp to version 2.7.0 or later. If not possible, restrict access to services using CMP/CRMF and monitor CPU usage.

Other vulnerabilities in bc-csharp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS