NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven.NET NuGet
Not in CISA KEV
MEDIUM severity

CVE-2020-15522 — bc-fips

MEDIUM

CVE-2020-15522 is a medium-severity (CVSS 5.9) CWE-362 vulnerability in org.bouncycastle:bc-fips. A fix is available for org.bouncycastle:bc-fips — see the affected versions and patch details below.

Timing based private key exposure in Bouncy Castle

Also known asGHSA-6xx3-rg99-gc3p
Published
Updated
Affected
9 pkgs
Patched
9 / 9
Exploits
None indexed
Exploitation data as of Nov 2, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs75th percentile — riskier than 75% of all scored CVEsHighest risk
0.00%0.67%1.35%2.02%0.4%1.5%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

9 pkgs affected
☕org.bouncycastle:bc-fips☕org.bouncycastle:bcprov-ext-jdk15on☕org.bouncycastle:bcprov-ext-jdk16☕org.bouncycastle:bcprov-jdk14☕org.bouncycastle:bcprov-jdk15☕org.bouncycastle:bcprov-jdk15on☕org.bouncycastle:bcprov-jdk15to18☕org.bouncycastle:bcprov-jdk16+1 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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 Packages

9 total 9 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.bouncycastle:bc-fipsall versions1.0.2.1org.bouncycastle:bc-fips:1.0.2.1
☕Mavenorg.bouncycastle:bcprov-ext-jdk15onall versions1.66org.bouncycastle:bcprov-ext-jdk15on:1.66
☕Mavenorg.bouncycastle:bcprov-ext-jdk16all versions1.66org.bouncycastle:bcprov-ext-jdk16:1.66
☕Mavenorg.bouncycastle:bcprov-jdk14all versions1.66org.bouncycastle:bcprov-jdk14:1.66
☕Mavenorg.bouncycastle:bcprov-jdk15all versions1.66org.bouncycastle:bcprov-jdk15:1.66
☕Mavenorg.bouncycastle:bcprov-jdk15onall versions1.66org.bouncycastle:bcprov-jdk15on:1.66

Affected Products

4 products · 5 configurations
Application
bc-csharpbouncycastle
< 1.8.7
range
Application
bouncy castle fips .net apibouncycastle
< 1.0.1.1
range
Application
fips java apibouncycastle
≥ 1.0.2 && < 1.0.2.1
range
Application
the bouncy castle crypto package for javabouncycastle
< 1.66
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.bouncycastle:bc-fips, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.bouncycastle:bc-fips to 1.0.2.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-15522 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Red Hat EAP-XP 2.0.0 via EAP 7.3.x basebouncycastleRHSA-2021:2755
Red Hat Fuse 7.10bouncycastleRHSA-2021:5134
Red Hat Fuse 7.8.1see advisoryRHSA-2021:1401
RHINT Camel-K 1.6.4bouncycastleRHSA-2022:1029
RHINT Camel-Q 2.2.1see advisoryRHSA-2022:1013

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2020-15522 in your dependencies?

Find it across Maven, NuGet, including transitive dependencies.

CVE-2020-15522: bc-fips Info Disclosure — Fixed in 1.0.2.1