CVE-2026-103602: Name constraints bypass via trailing dot in rfc822Name, dNSName and URI hosts

Published Oct 2, 2026
·
Updated

Improper certificate validation in PkixNameConstraintValidator in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who controls, or can obtain certificates from, a name-constrained intermediate CA to have certificates accepted during PKIX certification path validation for email addresses, DNS names or URI hosts that lie within excluded subtrees applying to that CA, via an rfc822Name, dNSName or uniformResourceIdentifier name whose host ends with a dot, because names and constraints were compared without first removing the RFC 1034 root-label trailing dot, so a fully qualified host name did not match an excluded subtree for the same host written without the dot.

Affected Software

2 affected components
Legion of the Bouncy Castle Inc. bc-csharp<2.7.0
bouncycastle bc-csharp<2.7.0

Event History

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

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using bc-csharp before 2.7.0 for PKIX certification path validation are exposed when they validate certificates chaining through a name-constrained intermediate CA. The practical impact applies where excluded name subtrees are relied on to prevent use of particular email domains, DNS names, or URI hosts.

2

What does an attacker need to exploit it?

An attacker must control, or be able to obtain certificates from, a name-constrained intermediate CA. They can use a trailing dot in an rfc822Name, dNSName, or URI host so that a host within an excluded subtree may not match the equivalent exclusion written without the trailing dot.

3

What versions are affected and what is the remediation?

bc-csharp versions before 2.7.0 are affected. Upgrade to version 2.7.0 or later.

4

How can I identify potentially affected certificate usage?

Review certificate-validation paths that use name-constrained intermediate CAs and enforce excluded subtrees. Look for certificates containing email addresses, DNS names, or URI hosts with a trailing dot, particularly where the same hostname is excluded without a trailing dot.

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