CWE
203
Advisory Published
Advisory Published
Updated

CVE-2020-26939

First published: Mon Nov 02 2020(Updated: )

In Legion of the Bouncy Castle BC before 1.55 and BC-FJA before 1.0.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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Bouncycastle Legion-of-the-bouncy-castle<1.61
Bouncycastle Legion-of-the-bouncy-castle-fips-java-api<1.0.1.2
maven/org.bouncycastle:bcprov-jdk15to18<1.61
1.61
maven/org.bouncycastle:bcprov-jdk15on<1.61
1.61
maven/org.bouncycastle:bcprov-ext-jdk16<1.61
1.61
maven/org.bouncycastle:bcprov-ext-jdk15on<1.61
1.61
maven/org.bouncycastle:bc-fips<1.0.2
1.0.2
maven/org.bouncycastle:bcprov-jdk16<1.61
1.61
maven/org.bouncycastle:bcprov-jdk14<1.61
1.61

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2020-26939?

    The severity of CVE-2020-26939 is medium with a severity value of 5.3.

  • How can an attacker exploit CVE-2020-26939?

    An attacker can exploit CVE-2020-26939 by sending invalid ciphertext to obtain sensitive information about a private exponent.

  • Which software versions are affected by CVE-2020-26939?

    Legion of the Bouncy Castle BC versions before 1.61 and BC-FJA versions before 1.0.1.2 are affected by CVE-2020-26939.

  • Is there a fix available for CVE-2020-26939?

    Yes, you can refer to the references provided for information on how to fix CVE-2020-26939.

  • What is the Common Weakness Enumeration (CWE) ID for CVE-2020-26939?

    The CWE ID for CVE-2020-26939 is 203.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203