Skip to main content
EPSS 0.3%top 77%

CVE-2026-63568: CWE-770 Allocation of Resources Without Limits or Throttling in Legion of the Bouncy Castle Inc. bc-csharp

0
High
Published: 10/02/2026 (10/02/2026, 06:59:30 UTC)
Source: GCVE Database
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

bc-csharp
pkg:nuget/bc-csharp
Affected versions
<2.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 18:22:18 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses