CVE-2026-63577

Source
https://cve.org/CVERecord?id=CVE-2026-63577
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63577.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63577
Published
2026-10-02T07:07:35Z
Modified
2026-10-04T02:46:54Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Name Constraints bypass: directoryName constraint matched at any position in the DN instead of as a prefix
Details

Improper certificate validation in the directoryName name-constraint check (PkixNameConstraintValidator.WithinDNSubtree) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who controls, or can have certificates issued by, a name-constrained intermediate CA to get certificates accepted by PKIX path validation whose subject distinguished name, or a directoryName subjectAltName, lies outside the CA's permitted subtrees, via a name that places other RDNs ahead of a copy of the permitted RDN sequence, because the check looks for the constraint's first RDN anywhere in the name and compares the remaining RDNs from that position, instead of requiring the constraint to be an initial prefix of the name as RFC 5280 sections 4.2.1.10 and 7.1 require.

Database specific
{
    "cna_assigner":  "bcorg",
    "cwe_ids":  [
        "CWE-295"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63577.json"
}
References

Affected packages

Git / github.com/bcgit/bc-csharp

Affected ranges

Type
GIT
Repo
https://github.com/bcgit/bc-csharp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.7.0"
        }
    ],
    "source":  [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

release-1.*
release-1.8.0
release-1.8.0-RC.1
release-1.8.0-RC.2
release-1.8.0-RC.3
release-1.8.0-beta.1
release-1.8.0-beta.2
release-1.8.0-beta.3
release-1.8.0-beta.4
release-1.8.1
release-1.8.10
release-1.8.2
release-1.8.3
release-1.8.4
release-1.8.5
release-1.8.6
release-1.8.7
release-1.8.8
release-1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63577.json"