CVE-2026-63575PKCS#12 key derivation loops about 2^32 times on a zero or negative iteration count
Updated under an hour ago ()
Does this affect you?
It affects Legion of the Bouncy Castle Inc. bc-csharp. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.19%, higher than 8% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 7.1 HIGH (v4.0, CNA)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
- Weakness (CWE)
- CWE-835
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.19% (percentile 8)
- Assigned by
- bcorg
- NVD analysis
- Undergoing Analysis
- Record last updated
- Oct 2, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Legion of the Bouncy Castle Inc. bc-csharp legion_of_the_bouncy_castle:bc_csharp (from the name) | before 2.7.0 | CNA record |
References
- https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63575vendor-advisory
- https://github.com/bcgit/bc-csharp/commit/0c7a6dfd64c4a479577e35a728a766721b79aba7patch
- https://github.com/bcgit/bc-csharp/commit/7c0ed15f9783c9595b1a53f3900136461fd944f4patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.