TROYANOSYVIRUS
Back to CVEs

CVE-2020-26939

MEDIUM
5.3

Description

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.

CVE Details

CVSS v3.1 Score5.3
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published11/2/2020
Last Modified7/17/2025
Sourcenvd
Honeypot Sightings0

Affected Products

bouncycastle:fips_java_apibouncycastle:legion-of-the-bouncy-castle

Weaknesses (CWE)

CWE-203

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.