CVE-2026-63572
Last modified
CVE-2026-63572 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Allocation of resources without limits in PKCS#12 keystore loading (Pkcs12Store.Load) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply a PKCS#12 (PFX) file to cause a denial of service through CPU exhaustion via an iteration count close to 2^31 in the file's MacData or in the PBE parameters of an encrypted SafeContents or shrouded key bag, because the counts are taken from the file without an upper bound and the key derivation runs before the MAC or the password can be checked. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Allocation of resources without limits in PKCS#12 keystore loading (Pkcs12Store.Load) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply a PKCS#12 (PFX) file to cause a denial of service through CPU exhaustion via an iteration count close to 2^31 in the file's MacData or in the PBE parameters of an encrypted SafeContents or shrouded key bag, because the counts are taken from the file without an upper bound and the key derivation runs before the MAC or the password can be checked. A zero or negative count is covered by CVE-2026-63575. Pkcs12Utilities.ConvertToDefiniteLength is also affected.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Bouncycastle | Bc-Csharp | < 2.7.0 |
References
- https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63572Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-63572?
How severe is CVE-2026-63572?
How do I fix CVE-2026-63572?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-63567Observable discrepancy in IesEngine.DecryptBlock in Legion o…7.5
- CVE-2026-63568Allocation of resources without limits or throttling in the …7.5
- CVE-2026-63569Improper input validation in DHAgreement.CalculateAgreement …6.5
- CVE-2026-6357pip prior to version 26.1 would run self-update check functi…5.3
- CVE-2026-63570Loop with unreachable exit condition in Pkcs12Store.GetCerti…7.5
- CVE-2026-63571Improper verification of cryptographic signature in the attr…7.5
- CVE-2026-63573Observable discrepancy in the CMS RSA PKCS#1 v1.5 key-transp…7.5
- CVE-2026-63574Memory allocation with excessive size value in the OpenPGP s…7.5
- CVE-2026-63575Loop with unreachable exit condition in the PKCS#12 key deri…7.5
- CVE-2026-63576Improper certificate validation in PkixNameConstraintValidat…7.5
- CVE-2026-63577Improper certificate validation in the directoryName name-co…7.5
- CVE-2026-63578Allocation of resources without limits in password-based pri…7.5
Are you affected by CVE-2026-63572?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
