← Back to CVEs
CVE-2020-26939
MEDIUM5.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
References
https://github.com/bcgit/bc-java/wiki/CVE-2020-26939(cve@mitre.org)
https://lists.apache.org/thread.html/r8c36ba34e80e05eecb1f80071cc834d705616f315b634ec0c7d8f42e%40%3Cissues.solr.apache.org%3E(cve@mitre.org)
https://github.com/bcgit/bc-java/wiki/CVE-2020-26939(af854a3a-2127-422b-91ae-364da2661108)
https://lists.apache.org/thread.html/r8c36ba34e80e05eecb1f80071cc834d705616f315b634ec0c7d8f42e%40%3Cissues.solr.apache.org%3E(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.