Skip to main content
VulnerabilityPublished

CVE-2026-63569: Legion of the Bouncy Castle bc-csharp · Improper Input Validation

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

0
Compare

Not known to be exploited · CVSS 9.1 Critical : upgrade to 2.7.0 as a priority.

Data as of 16 Nov 2026, 20:25 UTC

CVSS 4.0 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 26% 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 can reliably automate steps 1–4 of the kill chain
Technical impact
Total control over the software or total information disclosure

CISA SSVC assessment, 2026-10-02.

Patch
Available – fixed in 2.7.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/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 16 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 bc-csharp to version 2.7.0 or later, where this vulnerability is fixed. The fix includes proper input validation checks on ephemeral values in DHAgreement.CalculateAgreement. Applications that do not directly call DHAgreement are not affected. No other mitigations are indicated.

Description

CVE-2026-63569 is a critical improper input validation vulnerability in the DHAgreement.CalculateAgreement method of Legion of the Bouncy Castle Inc.'s bc-csharp library before version 2.7.0. It allows an attacker who can intercept or act as a peer in the Diffie-Hellman key agreement to force the local party to compute a known agreed value, bypassing key authentication. Additionally, the attacker can learn partial information about the local static private key and potentially recover it entirely in certain group conditions. This flaw arises from missing range and subgroup-membership checks on ephemeral values used in the key agreement. Only applications directly invoking DHAgreement are affected. The issue is fixed in version 2.7.0.

References

Community reviews

Loading reviews…