CVE-2026-63568: CWE-770 Allocation of Resources Without Limits or Throttling in Legion of the Bouncy Castle Inc. bc-csharp
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.
AI Analysis
Technical Summary
The vulnerability in Legion of the Bouncy Castle Inc. bc-csharp (before 2.7.0) involves the CMP/CRMF password-based MAC verifier (PKMacBuilder) which does not limit or throttle resource allocation properly. When verifying CMP messages or CRMF certificate requests, if the PBMParameter specifies a very large iteration count, the verifier performs up to approximately 2^31 hash iterations before checking the MAC. This occurs because the iteration-count ceiling is only applied when the PKMacBuilder is instantiated with the constructor that includes an explicit maximum iteration count. Other constructors do not enforce this limit, allowing remote unauthenticated attackers to cause CPU exhaustion and denial of service.
Potential Impact
A remote unauthenticated attacker can cause denial of service by sending CMP messages or CRMF certificate requests with very large iteration counts, leading to CPU exhaustion on the affected system. This impacts availability but does not affect confidentiality or integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing untrusted CMP or CRMF messages with unbounded iteration counts or instantiate PKMacBuilder with explicit iteration count limits if possible.
CVE-2026-63568: CWE-770 Allocation of Resources Without Limits or Throttling in Legion of the Bouncy Castle Inc. bc-csharp
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Legion of the Bouncy Castle Inc. bc-csharp (before 2.7.0) involves the CMP/CRMF password-based MAC verifier (PKMacBuilder) which does not limit or throttle resource allocation properly. When verifying CMP messages or CRMF certificate requests, if the PBMParameter specifies a very large iteration count, the verifier performs up to approximately 2^31 hash iterations before checking the MAC. This occurs because the iteration-count ceiling is only applied when the PKMacBuilder is instantiated with the constructor that includes an explicit maximum iteration count. Other constructors do not enforce this limit, allowing remote unauthenticated attackers to cause CPU exhaustion and denial of service.
Potential Impact
A remote unauthenticated attacker can cause denial of service by sending CMP messages or CRMF certificate requests with very large iteration counts, leading to CPU exhaustion on the affected system. This impacts availability but does not affect confidentiality or integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing untrusted CMP or CRMF messages with unbounded iteration counts or instantiate PKMacBuilder with explicit iteration count limits if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mm8p-p4g9-932c
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63568"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6abfeeb9a43b0b3b89e563dc
Added to database: 10/02/2026, 17:49:45 UTC
Last enriched: 10/02/2026, 18:22:18 UTC
Last updated: 10/03/2026, 03:45:56 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.