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

Published Oct 2, 2026
·
Updated

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 Software

1 affected component
Legion of the Bouncy Castle Inc. bc-csharp<2.7.0

Event History

Oct 2, 2026
CVE Published
via MITRE·06:59 AM
Data Sourced
via MITRE·06:59 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to unauthenticated CPU exhaustion?

Deployments using bc-csharp before 2.7.0 that verify CMP messages with ProtectedPkiMessage.Verify or validate CRMF signing-key proof of possession with CertificateRequestMessage.IsValidSigningKeyPop are exposed when they process attacker-supplied messages or requests.

2

What does an attacker need to do to trigger the issue?

An attacker does not need to authenticate. They need to submit a CMP message or CRMF certificate request containing PBMParameter with a very large password-based MAC iteration count, causing verification to perform the requested hash iterations before checking the MAC.

3

Are default PKMacBuilder constructor paths affected?

Yes. The iteration ceiling was enforced only when the caller used PKMacBuilder(IPKMacPrimitivesProvider, int) with an explicit maximum; other constructors could process sender-requested iteration counts up to approximately 2^31.

4

What is the available remediation?

Upgrade bc-csharp to version 2.7.0 or later. The affected behavior applies to versions before 2.7.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203