CVE-2020-26939

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

Configuration 1 (hide)

OR cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:legion-of-the-bouncy-castle:*:*:*:*:*:*:*:*

History

17 Jul 2025, 17:04

Type Values Removed Values Added
First Time Bouncycastle fips Java Api
CPE cpe:2.3:a:bouncycastle:legion-of-the-bouncy-castle-fips-java-api:*:*:*:*:*:*:*:* cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*

Information

Published : 2020-11-02 22:15

Updated : 2025-07-17 17:04


NVD link : CVE-2020-26939

Mitre link : CVE-2020-26939

CVE.ORG link : CVE-2020-26939


JSON object : View

Products Affected

bouncycastle

  • legion-of-the-bouncy-castle
  • fips_java_api
CWE
CWE-203

Observable Discrepancy