CVE-2020-15522 in Bouncycastle Fips Java Api and 3 more products
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 EC...
Affects 4 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bouncycastle | Fips Java Api | < 1.0.1.2 ≥ 1.0.2, < 1.0.2.1 |
| Bouncycastle | Bc-Csharp | < 1.8.7 |
| Bouncycastle | Bouncy Castle Fips .Net Api | < 1.0.1.1 |
| Bouncycastle | The Bouncy Castle Crypto Package For Java | < 1.66 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-15522 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-146192-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-05-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2021. A medium severity vulnerability affects Bouncycastle systems (CVE-2020-15522). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
Questions
What is CVE-2020-15522?
This vulnerability was disclosed in 2021. A medium severity vulnerability affects Bouncycastle systems (CVE-2020-15522). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2020-15522?
CVE-2020-15522 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.5%.
Is CVE-2020-15522 actively exploited?
No confirmed active exploitation of CVE-2020-15522 as of 2026-09-25.
How do I remediate CVE-2020-15522?
Priority: MONITOR. Advisory: https://www.bouncycastle.org/releasenotes.html PSIRT: [email protected]
What systems are affected by CVE-2020-15522?
CVE-2020-15522 affects Bouncycastle Fips Java Api, Bc-Csharp, Bouncy Castle Fips .Net Api, The Bouncy Castle Crypto Package For Java.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bouncycastle","product":"Fips Java Api","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.