{"id":"CVE-2026-63575","published":"2026-10-02T07:06:31Z","modified":"2026-10-02T19:25:38Z","title":"PKCS#12 key derivation loops about 2^32 times on a zero or negative iteration count","vendor":"Legion of the Bouncy Castle Inc.","product":"bc-csharp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00223,"percentile":0.13225,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63575","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-csharp/commit/0c7a6dfd64c4a479577e35a728a766721b79aba7","tags":["patch"]},{"url":"https://github.com/bcgit/bc-csharp/commit/7c0ed15f9783c9595b1a53f3900136461fd944f4","tags":["patch"]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":2.65},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"bc-csharp","versions":["< 2.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-02T19:25:09.895774Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-91226","exploited":false,"provenance":"source"}}