{"id":"CVE-2026-63575","aliases":["CVE-2026-63575"],"related":[],"kind":"vulnerability","state":"published","title":"PKCS#12 key derivation loops about 2^32 times on a zero or negative iteration count","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-02T07:06:31.876Z","modified":"2026-10-28T14:41:37.390Z","severity":{"scorer":"bcorg","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"bcorg","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.7.0","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"bc-csharp","package":"BouncyCastle.Cryptography","repo":"https://github.com/bcgit/bc-csharp","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.7.0"}],"vendor":"bouncycastle","product":"bc-csharp","cpe":"cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63575","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-csharp/commit/0c7a6dfd64c4a479577e35a728a766721b79aba7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-csharp/commit/7c0ed15f9783c9595b1a53f3900136461fd944f4","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Paweł Łukasik (https://github.com/pawlos)"],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-02T19:25:09.895Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63575","url":"https://www.cve.org/CVERecord?id=CVE-2026-63575","licence":"CVE Terms of Use","modified":"2026-10-02T19:25:38.391Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63575","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63575","licence":"Public domain","modified":"2026-10-28T14:41:37.390Z"}],"updatedAt":"2026-11-25T22:59:41.916Z","epss":{"score":0.00386,"percentile":0.24415,"date":"2026-11-30T12:00:22.000Z"}}