CVE-2026-63575

HIGH CVSS 4.0: 7.1 EPSS 0.22%
Updated Oct 28, 2026
Legion Of The Bouncy Castle Inc.
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions before 2.7.0
Fixed In 2.7.0
Type CWE-835
Vendor Legion Of The Bouncy Castle Inc.
Public PoC No

Loop with unreachable exit condition in the PKCS#12 key derivation (Pkcs12ParametersGenerator) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply a PKCS#12 (PFX) file, or a PKCS#8 encrypted private key that uses a PKCS#12 password-based encryption algorithm, to cause a denial of service through CPU exhaustion via an iteration count of zero or below, because the derivation loop ran until its counter equalled the count, so for such a count it wrapped through about 2^32 iterations before the MAC or the password could be checked. A 75-byte PFX file with a negative MacData iteration count kept Pkcs12Store.Load busy for many minutes.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Bouncycastle Bc-Csharp
cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*
— 2.7.0