CVE-2026-63578
Last modified
CVE-2026-63578 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Allocation of resources without limits in password-based private-key decryption (PbeUtilities.GenerateCipherParameters) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply an encrypted private key, such as a PKCS#8 EncryptedPrivateKeyInfo or "ENCRYPTED PRIVATE KEY" PEM file, to cause a denial of service through CPU exhaustion via an iteration count close to 2^31, because the count is taken from the unauthenticated algorithm parameters without an upper bound and the key derivation runs before the password or the data can be checked. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Allocation of resources without limits in password-based private-key decryption (PbeUtilities.GenerateCipherParameters) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply an encrypted private key, such as a PKCS#8 EncryptedPrivateKeyInfo or "ENCRYPTED PRIVATE KEY" PEM file, to cause a denial of service through CPU exhaustion via an iteration count close to 2^31, because the count is taken from the unauthenticated algorithm parameters without an upper bound and the key derivation runs before the password or the data can be checked. PKCS#5 PBES1 and PBES2 (PBKDF2), the PKCS#12 PBE algorithms and CMS password recipients (CmsPbeKey) are affected. Loading PKCS#12 files with Pkcs12Store is covered by CVE-2026-63572, and a zero or negative count with the PKCS#12 algorithms by CVE-2026-63575.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Bouncycastle | Bc-Csharp | < 2.7.0 |
References
- https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63578Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-63578?
How severe is CVE-2026-63578?
How do I fix CVE-2026-63578?
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-63572Allocation of resources without limits in PKCS#12 keystore l…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-6358Use after free in XR in Google Chrome on Android prior to 14…8.8
- CVE-2026-63586The web-based management interface uses a modified uhttpd se…9.8
- CVE-2026-63587The SMS control function of IE-SR-2TX-WL-4G devices can requ…8.6
- CVE-2026-6359Use after free in Video in Google Chrome on Windows prior to…8.8
- CVE-2026-6360Use after free in FileSystem in Google Chrome prior to 147.0…8.8
- CVE-2026-6361Heap buffer overflow in PDFium in Google Chrome on Windows p…8.3
Are you affected by CVE-2026-63578?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
