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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2433-1 bouncycastle security update
EUVD EUVD EUVD-2021-0779 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.
Github GHSA Github GHSA GHSA-72m5-fvvv-55m6 Observable Differences in Behavior to Error Inputs in Bouncy Castle
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 17 Jul 2025 17:15:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T16:03:23.071Z

Reserved: 2020-10-10T00:00:00

Link: CVE-2020-26939

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-11-02T22:15:13.393

Modified: 2025-07-17T17:04:58.987

Link: CVE-2020-26939

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.