Security mailing lists by PureSourceCode

CVE-2020-26939

MEDIUM 5.3CVSS 3.1

Observable Differences in Behavior to Error Inputs in Bouncy Castle

In Legion of the Bouncy Castle BC before 1.61 and BC-FJA before 1.0.1.2, attackers can obtain sensitive information about a private exponent because of Observable Differences in Behavior to Error Inputs. This occurs in org.bouncycastle.crypto.encodings.OAEPEncoding. Sending invalid ciphertext that decrypts to a short payload in the OAEP Decoder could result in the throwing of an early exception, potentially leaking some information about the private exponent of the RSA private key performing the encryption.

Published
2 Nov 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-203
Also known as
GHSA-72m5-fvvv-55m6
Sources
NVDJSONOSV GHSA-72m5-fvvv-55m6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bouncycastle fips_java_api
cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*
< 1.0.1.2 1.0.1.2
NVD bouncycastle legion-of-the-bouncy-castle
cpe:2.3:a:bouncycastle:legion-of-the-bouncy-castle:*:*:*:*:*:*:*:*
< 1.61 1.61
OSV Maven org.bouncycastle:bcprov-jdk14 < 1.61 1.61
OSV Maven org.bouncycastle:bcprov-jdk15 < 1.61 1.61
OSV Maven org.bouncycastle:bcprov-jdk16 < 1.61 1.61
OSV Maven org.bouncycastle:bc-fips < 1.0.2 1.0.2
OSV Maven org.bouncycastle:bcprov-ext-jdk15on < 1.61 1.61
OSV Maven org.bouncycastle:bcprov-ext-jdk16 < 1.61 1.61
OSV Maven org.bouncycastle:bcprov-jdk15on < 1.61 1.61
OSV Maven org.bouncycastle:bcprov-jdk15to18 < 1.61 1.61

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Nov 2020)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Apr 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.