Security mailing lists by PureSourceCode

CVE-2020-15522

MEDIUM 5.9CVSS 3.1

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.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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bouncycastle bc-csharp
cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*
< 1.8.7 1.8.7
NVD bouncycastle bouncy_castle_fips_.net_api
cpe:2.3:a:bouncycastle:bouncy_castle_fips_.net_api:*:*:*:*:*:*:*:*
< 1.0.1.1 1.0.1.1
NVD bouncycastle fips_java_api
cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*
< 1.0.1.2 1.0.1.2
NVD bouncycastle fips_java_api
cpe: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_java
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.