Timing 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.2.1, BC before 1.66, 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.bouncycastle:bc-fips | < 1.0.2.1 | 1.0.2.1 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-ext-jdk15on | < 1.66 | 1.66 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-ext-jdk16 | < 1.66 | 1.66 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk14 | < 1.66 | 1.66 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15 | < 1.66 | 1.66 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15on | < 1.66 | 1.66 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15to18 | < 1.66 | 1.66 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk16 | < 1.66 | 1.66 |
| .NET (NuGet) | BouncyCastle | < 1.8.7 | 1.8.7 |
References
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-203, CWE-362- Platform
- Java / Kotlin (Maven), .NET (NuGet)
- Package
org.bouncycastle:bc-fips, org.bouncycastle:bcprov-ext-jdk15on, org.bouncycastle:bcprov-ext-jdk16- Disclosed
- 13.08.2021
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-6xx3-rg99-gc3p - CC BY 4.0
Vulnerability history: org.bouncycastle:bcprov-jdk15on
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 25
- First → latest
- 10.2018 04.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 8
- Medium 14
- Low 1
Disclosures per year
- 2018: 13
- 2019: 0
- 2020: 0
- 2021: 3
- 2022: 3
- 2023: 2
- 2024: 3
- 2025: 0
- 2026: 1
-
Timing based private key exposure in Bouncy Castle this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.