Skip to main content
VulnerabilityPublished Updated

CVE-2026-63577: Legion of the Bouncy Castle bc-csharp · Improper Certificate Validation

Affects Legion of the Bouncy Castle bc-csharpSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.2 High : upgrade to 2.7.0 soon.

Data as of 15 Nov 2026, 20:25 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CISA SSVC
Exploitation
No evidence of active exploitation and no public proof of concept
Automatable
Attackers cannot reliably automate steps 1–4 of the kill chain
Technical impact
Limited control over the software or limited information exposure

CISA SSVC assessment, 2026-10-06.

Patch
Available – fixed in 2.7.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.

What to do

Upgrade bc-csharp and BouncyCastle.Cryptography to 2.7.0.

Affected software

ProductAffectedFixed in
Legion of the Bouncy Castle Inc.bc-csharpAffected
  • <2.7.0
Fixed in
  • 2.7.0
NuGetBouncyCastle.Cryptographypkg:nuget/BouncyCastle.CryptographyOther threatsAffected
  • <2.7.0
Fixed in
  • 2.7.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to bc-csharp version 2.7.0 or later, where this improper certificate validation issue is fixed. No other mitigation is indicated by the vendor advisory. Applying the official fix fully addresses the vulnerability.

Description

CVE-2026-63577 is a high-severity vulnerability in Legion of the Bouncy Castle Inc.'s bc-csharp library before version 2.7.0. It involves improper certificate validation in the directoryName name-constraint check during PKIX path validation. An attacker controlling or having certificates issued by a name-constrained intermediate CA can bypass constraints by manipulating the subject distinguished name or directoryName subjectAltName. This occurs because the validation incorrectly searches for the constraint's first RDN anywhere in the name rather than requiring it as an initial prefix, violating RFC 5280 requirements. The issue is fixed in version 2.7.0.

References

Community reviews

Loading reviews…