CVE-2020-26939
Published:November 02, 2020
Updated:May 17, 2026
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.
Affected Packages
org.bouncycastle:bc-fips (JAVA):
Affected version(s) >=1.0.0 <1.0.2Fix Suggestion:
Update to version 1.0.2org.bouncycastle:bcprov-ext-jdk15on (JAVA):
Affected version(s) >=1.46 <1.61Fix Suggestion:
Update to version 1.61org.bouncycastle:bcprov-jdk14 (JAVA):
Affected version(s) >=1.30 <1.61Fix Suggestion:
Update to version 1.61org.bouncycastle:bcprov-jdk15on (JAVA):
Affected version(s) >=1.46 <1.61Fix Suggestion:
Update to version 1.61Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Observable Discrepancy
EPSS
Base Score:
2.44