Vulnerability · Published Nov 2, 2020 · Assigned by mitre

CVE-2020-26939

Medium 5.3

In plain English

A medium-severity security flaw in the bouncycastle package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)0.9%top 39.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12bouncycastle1.61-1DEBIAN-CVE-2020-26939
Debian:13bouncycastle1.61-1DEBIAN-CVE-2020-26939
Debian:14bouncycastle1.61-1DEBIAN-CVE-2020-26939
Mavenorg.bouncycastle:bc-fips1.0.2GHSA-72m5-fvvv-55m6
Mavenorg.bouncycastle:bcprov-ext-jdk15on1.61GHSA-72m5-fvvv-55m6
Mavenorg.bouncycastle:bcprov-ext-jdk161.61GHSA-72m5-fvvv-55m6
Mavenorg.bouncycastle:bcprov-jdk141.61GHSA-72m5-fvvv-55m6
Mavenorg.bouncycastle:bcprov-jdk151.61GHSA-72m5-fvvv-55m6
Mavenorg.bouncycastle:bcprov-jdk15on1.61GHSA-72m5-fvvv-55m6
Mavenorg.bouncycastle:bcprov-jdk15to181.61GHSA-72m5-fvvv-55m6
Mavenorg.bouncycastle:bcprov-jdk161.61GHSA-72m5-fvvv-55m6

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References