CVE-2020-15522Bouncycastle Bc-csharp
Medium 5.9 No auth needed
Follow: this CVE · Bouncycastle · Bouncycastle Bc-csharp We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- May 20, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-362
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Bc-csharp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.bouncycastle:bc-fips |
< 1.0.2.1 |
1.0.2.1 |
— |
| Maven | org.bouncycastle:bcprov-ext-jdk15on |
< 1.66 |
1.66 |
— |
| Maven | org.bouncycastle:bcprov-ext-jdk16 |
< 1.66 |
1.66 |
— |
| Maven | org.bouncycastle:bcprov-jdk14 |
< 1.66 |
1.66 |
— |
| Maven | org.bouncycastle:bcprov-jdk15 |
< 1.66 |
1.66 |
— |
| Maven | org.bouncycastle:bcprov-jdk15on |
< 1.66 |
1.66 |
— |
| Maven | org.bouncycastle:bcprov-jdk15to18 |
< 1.66 |
1.66 |
— |
| Maven | org.bouncycastle:bcprov-jdk16 |
< 1.66 |
1.66 |
— |
| NuGet | BouncyCastle |
< 1.8.7 |
1.8.7 |
dotnet add package BouncyCastle --version 1.8.7 |
Per OSV / GitHub Advisories (GHSA-6xx3-rg99-gc3p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bouncycastle | bc-csharp | < 1.8.7 |
| bouncycastle | bouncy_castle_fips_.net_api | < 1.0.1.1 |
| bouncycastle | fips_java_api | < 1.0.1.2 |
| bouncycastle | fips_java_api | ≥ 1.0.2 < 1.0.2.1 |
| bouncycastle | the_bouncy_castle_crypto_package_for_java | < 1.66 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory
- security.netapp.com
- www.bouncycastle.org Release Notes Vendor Advisory