Skip to content
Heist/ feed
High

URI name constraints checked against a mis-parsed host

Type: advisorySource: Official CVE List1 source record

Improper certificate validation in PkixNameConstraintValidator (ExtractHostFromURL) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a name-constrained subordinate CA, or anyone able to obtain certificates with chosen subjectAltName URIs from such a CA, to bypass permitted or excluded uniformResourceIdentifier name constraints during certification path validation via a URI whose path, query, fragment or userinfo contains characters such as '@' or ':', because the host was extracted by string slicing without first isolating the RFC 3986 authority component, so the host compared against the constraints could differ from the URI's actual host.

Announced Group revision 1
Original source ↗

CVE-2026-63576

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-63576

bc-csharp

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/bcgit/bc-csharp",
    "vendor": "Legion of the Bouncy Castle Inc.",
    "product": "bc-csharp",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.7.0",
        "versionType": "semver"
      }
    ],
    "packageName": "BouncyCastle.Cryptography",
    "programFiles": [
      "crypto/src/pkix/PkixNameConstraintValidator.cs",
      "crypto/src/pkix/NameConstraintUtilities.cs",
      "crypto/src/pkix/NameConstraintUri.cs"
    ],
    "collectionURL": "https://www.nuget.org/packages/BouncyCastle.Cryptography",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-63576

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#9544 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement