CVEvulnerability

CVE-2026-63575

7.1 HIGH Published 2026-10-02 Modified 2026-10-28 Official page ↗
Status
Analyzed
Published
2026-10-02
Last modified
2026-10-28
Assigner
91579145-5d7b-4cc5-b925-a0262ff19630
CVSS 4.0 (91579145-5d7b-4cc5-b925-a0262ff19630)
7.1 HIGH — CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-835

Description

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.

Affected configurations

• bouncycastle bc-csharp (< 2.7.0)

Related

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References