# CVE-2020-15522: Timing based private key exposure in Bouncy Castle

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-05-20T11:20:18.000Z
- Modified: 2026-09-10T03:49:07.703Z
- Also known as: GHSA-6xx3-rg99-gc3p
- Weaknesses: CWE-203, CWE-362
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.bouncycastle:bc-fips (Maven): before 1.0.2.1
- org.bouncycastle:bcprov-ext-jdk15on (Maven): before 1.66
- org.bouncycastle:bcprov-ext-jdk16 (Maven): before 1.66
- org.bouncycastle:bcprov-jdk14 (Maven): before 1.66
- org.bouncycastle:bcprov-jdk15 (Maven): before 1.66
- org.bouncycastle:bcprov-jdk15on (Maven): before 1.66
- org.bouncycastle:bcprov-jdk15to18 (Maven): before 1.66
- org.bouncycastle:bcprov-jdk16 (Maven): before 1.66
- BouncyCastle (NuGet): before 1.8.7
- bouncycastle bc-csharp: before 1.8.7
- bouncycastle bouncy_castle_fips_.net_api: before 1.0.1.1
- bouncycastle fips_java_api: before 1.0.1.2; from 1.0.2 before 1.0.2.1
- bouncycastle the_bouncy_castle_crypto_package_for_java: before 1.66

## Every score

- GitHub: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://www.bouncycastle.org/releasenotes.html> (release-notes, vendor-advisory, web)
- <https://github.com/bcgit/bc-java/wiki/CVE-2020-15522> (third-party-advisory, web)
- <https://github.com/bcgit/bc-csharp/wiki/CVE-2020-15522> (third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210622-0007/>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15522> (advisory)
- <https://security.netapp.com/advisory/ntap-20210622-0007> (web)

## Sources

- CVE List: [CVE-2020-15522](https://www.cve.org/CVERecord?id=CVE-2020-15522), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6xx3-rg99-gc3p](https://github.com/advisories/GHSA-6xx3-rg99-gc3p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-15522](https://nvd.nist.gov/vuln/detail/CVE-2020-15522), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15522 · Whole record: https://cve.day/CVE-2020-15522.json · Rebuilt by cve.day 2026-11-25T22:57:57.937Z
