Home / Bouncycastle / Bc-csharp / CVE-2020-15522
CVE-2020-15522: is it exploited, and which versions of Bouncycastle Bc-csharp are affected and fixed?
CVE-2020-15522 is a race condition vulnerability in Bouncycastle Bc-csharp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: org.bouncycastle:bc-fips before 1.0.2.1, org.bouncycastle:bcprov-ext-jdk15on before 1.66, org.bouncycastle:bcprov-ext-jdk16 before 1.66 and 6 more (GitHub advisory GHSA-6xx3-rg99-gc3p). Fixed in 1.0.2.1, 1.66 and 1.8.7 (GitHub advisory GHSA-6xx3-rg99-gc3p). Severity: Medium (5.9, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2020-15522?
Bouncy Castle BC Java before 1.66, BC C# .NET before 1.8.7, BC-FJA before 1.0.1.2, 1.0.2.1, and BC-FNA before 1.0.1.1 have a timing issue within the EC math library that can expose information about the private key when an attacker is able to observe timing information for the generation of multiple deterministic ECDSA signatures.
From the CVE record by mitre, last updated August 4, 2024, 13:15 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.bouncycastle:bc-fips | < 1.0.2.1 | 1.0.2.1 | GHSA-6xx3-rg99-gc3p |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | < 1.66 | 1.66 | GHSA-6xx3-rg99-gc3p |
| Maven | org.bouncycastle:bcprov-ext-jdk16 | < 1.66 | 1.66 | GHSA-6xx3-rg99-gc3p |
| Maven | org.bouncycastle:bcprov-jdk14 | < 1.66 | 1.66 | GHSA-6xx3-rg99-gc3p |
| Maven | org.bouncycastle:bcprov-jdk15 | < 1.66 | 1.66 | GHSA-6xx3-rg99-gc3p |
| Maven | org.bouncycastle:bcprov-jdk15on | < 1.66 | 1.66 | GHSA-6xx3-rg99-gc3p |
| Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.66 | 1.66 | GHSA-6xx3-rg99-gc3p |
| Maven | org.bouncycastle:bcprov-jdk16 | < 1.66 | 1.66 | GHSA-6xx3-rg99-gc3p |
| NuGet | BouncyCastle | < 1.8.7 | 1.8.7 | GHSA-6xx3-rg99-gc3p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 17, 2025. Summary: Timing based private key exposure in Bouncy Castle.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bouncycastle | bc-csharp | before 1.8.7 | application |
| bouncycastle | bouncy castle fips .net api | before 1.0.1.1 | application |
| bouncycastle | fips java api | before 1.0.1.2 | application |
| bouncycastle | fips java api | from 1.0.2 before 1.0.2.1 | application |
| bouncycastle | the bouncy castle crypto package for java | before 1.66 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:56 UTC.
How severe is CVE-2020-15522?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-15522 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.52% probability of exploitation activity in the next 30 days, percentile 75.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- CWE-203 Observable Discrepancy
Where are the vendor advisories and references?
- https://www.bouncycastle.org/releasenotes.html x_refsource_MISC
- https://github.com/bcgit/bc-java/wiki/CVE-2020-15522 x_refsource_MISC
- https://github.com/bcgit/bc-csharp/wiki/CVE-2020-15522 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210622-0007/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- July 4, 2020
- Published
- May 20, 2021, 11:20 UTC
- CVE record updated
- August 4, 2024, 13:15 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:56 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-15522
Is CVE-2020-15522 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.52% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Bouncycastle Bc-csharp are affected by CVE-2020-15522?
org.bouncycastle:bc-fips before 1.0.2.1, org.bouncycastle:bcprov-ext-jdk15on before 1.66, org.bouncycastle:bcprov-ext-jdk16 before 1.66, org.bouncycastle:bcprov-jdk14 before 1.66, org.bouncycastle:bcprov-jdk15 before 1.66, org.bouncycastle:bcprov-jdk15on before 1.66 and 3 more, per the GitHub advisory GHSA-6xx3-rg99-gc3p. The tables above give every range the sources list.
Which version fixes CVE-2020-15522?
1.0.2.1, 1.66 and 1.8.7, per the GitHub advisory GHSA-6xx3-rg99-gc3p. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-15522?
Medium (5.9, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-15522?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.