CVE Catalog

CVE-2026-103602

HighCVSS 8.2
Published: Translated: NVD NIST

Summary

Improper certificate validation in PkixNameConstraintValidator in Bouncy Castle for .NET (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 for email addresses, DNS names, or URI hosts within excluded subtrees, via names ending with a dot (e.g., rfc822Name, dNSName, uniformResourceIdentifier), because comparison does not remove the trailing root-label dot per RFC 1034.

Risk Assessment

This may lead to bypassing name constraints in PKIX certification path validation, allowing an attacker to use certificates that should be rejected. Consequently, unauthorized access or impersonation may occur.

Recommendation

Update the Bouncy Castle for .NET (bc-csharp) library to version 2.7.0 or later. The new version removes the trailing dot before comparing names and constraints.

Other vulnerabilities in Bouncy Castle (bc-csharp)

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS