CVE-2026-63570: Pkcs12Store.GetCertificateChain loops forever on cyclic issuer links

Published Oct 2, 2026
·
Updated

Loop with unreachable exit condition in Pkcs12Store.GetCertificateChain in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply a crafted PKCS#12 file to an application that loads it and requests a key entry's certificate chain to cause a denial of service, in which the call never returns and consumes CPU and memory until an OutOfMemoryException, via certificates whose issuer links form a cycle, for example two certificates whose AuthorityKeyIdentifier extensions each identify the other's public key. This happens because the chain-building loop stops only when no issuer is found or a certificate links to itself, and keeps no record of certificates already visited. The key-identifier links are followed without checking signatures.

Affected Software

2 affected components
Bouncy Castle bc-csharp<2.7.0
bouncycastle bc-csharp<2.7.0

Event History

Oct 2, 2026
CVE Published
via MITRE·07:01 AM
Data Sourced
via MITRE·07:01 AM
DescriptionWeakness
Data Sourced
via OSV·07:01 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 AM
RemedyAffected Software

Frequently Asked Questions

1

Which applications are exposed to this denial of service?

Applications using Bouncy Castle bc-csharp before 2.7.0 are exposed if they load an attacker-supplied PKCS#12 file and request the certificate chain for a key entry. The vulnerable chain-building logic follows issuer key-identifier links without signature validation.

2

What does an attacker need to exploit the issue?

An attacker must be able to provide a crafted PKCS#12 file to the application and cause it to request a key entry's certificate chain. No authentication or additional attack complexity is indicated, but user interaction is required by the CVSS vector.

3

How can I determine whether an affected file is triggering the vulnerability?

Affected processing may cause Pkcs12Store.GetCertificateChain not to return, with continued CPU and memory consumption until an OutOfMemoryException. The malicious certificate chain contains cyclic issuer links, such as two certificates whose AuthorityKeyIdentifier extensions identify each other's public key.

4

What is the remediation?

Upgrade Bouncy Castle bc-csharp to version 2.7.0 or later. The issue affects versions before 2.7.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203