# CVE-2020-26939: Observable Differences in Behavior to Error Inputs in Bouncy Castle

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2020-11-02T22:00:15.000Z
- Modified: 2026-06-17T03:08:35.110Z
- Also known as: GHSA-72m5-fvvv-55m6
- Weaknesses: CWE-203
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.bouncycastle:bcprov-jdk14 (Maven): before 1.61
- org.bouncycastle:bcprov-jdk15 (Maven): before 1.61
- org.bouncycastle:bcprov-jdk16 (Maven): before 1.61
- org.bouncycastle:bc-fips (Maven): before 1.0.2
- org.bouncycastle:bcprov-ext-jdk15on (Maven): before 1.61
- org.bouncycastle:bcprov-ext-jdk16 (Maven): before 1.61
- org.bouncycastle:bcprov-jdk15on (Maven): before 1.61
- org.bouncycastle:bcprov-jdk15to18 (Maven): before 1.61
- bouncycastle fips_java_api: before 1.0.1.2
- bouncycastle legion-of-the-bouncy-castle: before 1.61

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/bcgit/bc-java/wiki/CVE-2020-26939> (patch, third-party-advisory, web)
- <https://lists.apache.org/thread.html/r8c36ba34e80e05eecb1f80071cc834d705616f315b634ec0c7d8f42e%40%3Cissues.solr.apache.org%3E> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26939> (advisory)
- <https://github.com/bcgit/bc-java/commit/930f8b274c4f1f3a46e68b5441f1e7fadb57e8c1> (web)
- <https://lists.apache.org/thread.html/r8c36ba34e80e05eecb1f80071cc834d705616f315b634ec0c7d8f42e@%3Cissues.solr.apache.org%3E> (web)
- <https://lists.debian.org/debian-lts-announce/2020/11/msg00007.html> (web)
- <https://security.netapp.com/advisory/ntap-20201202-0005> (web)

## Sources

- CVE List: [CVE-2020-26939](https://www.cve.org/CVERecord?id=CVE-2020-26939), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-72m5-fvvv-55m6](https://github.com/advisories/GHSA-72m5-fvvv-55m6), CC-BY-4.0, modified 2025-07-17
- NVD: [CVE-2020-26939](https://nvd.nist.gov/vuln/detail/CVE-2020-26939), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26939 · Whole record: https://cve.day/CVE-2020-26939.json · Rebuilt by cve.day 2026-11-25T22:57:55.556Z
