Skip to main content

Improper certificate validation in PkixNameConstraintValidator (ExtractHostFromURL) in Legion of the Bouncy Castle Inc. (CVE-2026-63576)

0
High
Published: 10/02/2026 (10/02/2026, 09:31:19 UTC)
Source: GCVE Database

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected software

bc-csharp
pkg:nuget/bc-csharp
Affected versions
<2.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 18:20:40 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses