CVE-2020-15522
MEDIUM 5.9CVSS 3.1Timing based private key exposure in Bouncy Castle
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.
- Published
- 20 May 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-203CWE-362
- Also known as
- GHSA-6xx3-rg99-gc3p
- Sources
- NVDJSONOSV GHSA-6xx3-rg99-gc3pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bouncycastle | bc-csharpcpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:* |
< 1.8.7 | 1.8.7 |
| NVD | bouncycastle | bouncy_castle_fips_.net_apicpe:2.3:a:bouncycastle:bouncy_castle_fips_.net_api:*:*:*:*:*:*:*:* |
< 1.0.1.1 | 1.0.1.1 |
| NVD | bouncycastle | fips_java_apicpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:* |
< 1.0.1.2 | 1.0.1.2 |
| NVD | bouncycastle | fips_java_apicpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:* |
>= 1.0.2, < 1.0.2.1 | 1.0.2.1 |
| NVD | bouncycastle | the_bouncy_castle_crypto_package_for_javacpe:2.3:a:bouncycastle:the_bouncy_castle_crypto_package_for_java:*:*:*:*:*:*:*:* |
< 1.66 | 1.66 |
| OSV | Maven | org.bouncycastle:bc-fips | < 1.0.2.1 | 1.0.2.1 |
| OSV | Maven | org.bouncycastle:bcprov-ext-jdk15on | < 1.66 | 1.66 |
| OSV | Maven | org.bouncycastle:bcprov-ext-jdk16 | < 1.66 | 1.66 |
| OSV | Maven | org.bouncycastle:bcprov-jdk14 | < 1.66 | 1.66 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15 | < 1.66 | 1.66 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15on | < 1.66 | 1.66 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.66 | 1.66 |
| OSV | Maven | org.bouncycastle:bcprov-jdk16 | < 1.66 | 1.66 |
| OSV | NuGet | BouncyCastle | < 1.8.7 | 1.8.7 |
References
- https://github.com/bcgit/bc-csharp/wiki/CVE-2020-15522 · Third Party Advisory, WEB
- https://github.com/bcgit/bc-java/wiki/CVE-2020-15522 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210622-0007/ · WEB
- https://www.bouncycastle.org/releasenotes.html · Release Notes, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15522 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 20 May 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Aug 2021)