Improper certificate validation in PkixNameConstraintValidator (ExtractHostFromURL) in Legion of the Bouncy Castle Inc. (CVE-2026-63576)
An improper certificate validation vulnerability exists in the PkixNameConstraintValidator component of Legion of the Bouncy Castle Inc. bc-csharp before version 2.7.0. This flaw allows a name-constrained subordinate CA or an attacker with certificates containing chosen subjectAltName URIs to bypass URI name constraints during certification path validation. The issue arises because the host is extracted by string slicing without properly isolating the RFC 3986 authority component, causing the host compared against constraints to differ from the URI's actual host.
AI Analysis
Technical Summary
CVE-2026-63576 describes an improper certificate validation vulnerability in the PkixNameConstraintValidator (ExtractHostFromURL) function of Legion of the Bouncy Castle Inc. bc-csharp versions prior to 2.7.0. The vulnerability allows bypassing permitted or excluded uniformResourceIdentifier name constraints during certification path validation. This occurs because the host extraction logic uses string slicing without isolating the authority component as defined in RFC 3986, leading to incorrect host comparisons when the URI's path, query, fragment, or userinfo contain characters such as '@' or ':'. This flaw can be exploited by a name-constrained subordinate CA or anyone able to obtain certificates with chosen subjectAltName URIs from such a CA.
Potential Impact
The vulnerability enables bypassing of URI name constraints during certificate path validation, potentially allowing unauthorized certificates to be accepted as valid. This undermines the trust model of certificate validation and could lead to acceptance of malicious or unauthorized certificates. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor for vendor updates and apply patches once available. Until then, cautious use of affected versions is advised.
Improper certificate validation in PkixNameConstraintValidator (ExtractHostFromURL) in Legion of the Bouncy Castle Inc. (CVE-2026-63576)
Description
An improper certificate validation vulnerability exists in the PkixNameConstraintValidator component of Legion of the Bouncy Castle Inc. bc-csharp before version 2.7.0. This flaw allows a name-constrained subordinate CA or an attacker with certificates containing chosen subjectAltName URIs to bypass URI name constraints during certification path validation. The issue arises because the host is extracted by string slicing without properly isolating the RFC 3986 authority component, causing the host compared against constraints to differ from the URI's actual host.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-63576 describes an improper certificate validation vulnerability in the PkixNameConstraintValidator (ExtractHostFromURL) function of Legion of the Bouncy Castle Inc. bc-csharp versions prior to 2.7.0. The vulnerability allows bypassing permitted or excluded uniformResourceIdentifier name constraints during certification path validation. This occurs because the host extraction logic uses string slicing without isolating the authority component as defined in RFC 3986, leading to incorrect host comparisons when the URI's path, query, fragment, or userinfo contain characters such as '@' or ':'. This flaw can be exploited by a name-constrained subordinate CA or anyone able to obtain certificates with chosen subjectAltName URIs from such a CA.
Potential Impact
The vulnerability enables bypassing of URI name constraints during certificate path validation, potentially allowing unauthorized certificates to be accepted as valid. This undermines the trust model of certificate validation and could lead to acceptance of malicious or unauthorized certificates. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor for vendor updates and apply patches once available. Until then, cautious use of affected versions is advised.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3248-8mh4-pcmr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63576"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6abfeeb5a43b0b3b89e55f8a
Added to database: 10/02/2026, 17:49:41 UTC
Last enriched: 10/02/2026, 18:20:40 UTC
Last updated: 10/02/2026, 19:45:56 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.