CVEfocus › CVE database › CVE-2020-26939

CVE-2020-26939

CVSS 5.3 MediumEPSS 0.9% (higher than 59% of CVEs)Published 2020-11-02Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
3Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04bouncycastleNot affected
vulnerable_code_not_present
Ubuntu 25.10bouncycastleNot affected
vulnerable_code_not_present
Ubuntu 18.04bouncycastleFix pendingUBUNTU-CVE-2020-26939
Ubuntu 16.04bouncycastleFix pendingUBUNTU-CVE-2020-26939
Ubuntu 14.04bouncycastleFix pending
Debian 14bouncycastleFixed1.61-1DEBIAN-CVE-2020-26939
Debian 13bouncycastleFixed1.61-1DEBIAN-CVE-2020-26939
Debian 12bouncycastleFixed1.61-1DEBIAN-CVE-2020-26939
Maven libraryorg.bouncycastle:bc-fipsFixed1.0.2GHSA-72m5-fvvv-55m6
Maven libraryorg.bouncycastle:bcprov-ext-jdk15onFixed1.61GHSA-72m5-fvvv-55m6
Maven libraryorg.bouncycastle:bcprov-ext-jdk16Fixed1.61GHSA-72m5-fvvv-55m6
Maven libraryorg.bouncycastle:bcprov-jdk14Fixed1.61GHSA-72m5-fvvv-55m6
Maven libraryorg.bouncycastle:bcprov-jdk15Fixed1.61GHSA-72m5-fvvv-55m6
Maven libraryorg.bouncycastle:bcprov-jdk15onFixed1.61GHSA-72m5-fvvv-55m6
Maven libraryorg.bouncycastle:bcprov-jdk15to18Fixed1.61GHSA-72m5-fvvv-55m6
Maven libraryorg.bouncycastle:bcprov-jdk16Fixed1.61GHSA-72m5-fvvv-55m6

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.