Home / Bouncycastle / Fips Java Api / CVE-2020-26939
CVE-2020-26939: is it exploited, and which versions of Bouncycastle Fips Java Api are affected and fixed?
CVE-2020-26939 is an information disclosure through timing or responses vulnerability in Bouncycastle Fips Java Api. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: org.bouncycastle:bcprov-jdk14 before 1.61, org.bouncycastle:bcprov-jdk15 before 1.61, org.bouncycastle:bcprov-jdk16 before 1.61 and 5 more (GitHub advisory GHSA-72m5-fvvv-55m6). Fixed in 1.61 and 1.0.2 (GitHub advisory GHSA-72m5-fvvv-55m6). Severity: Medium (5.3, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:06 UTC.
What is CVE-2020-26939?
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.
From the CVE record by mitre, last updated August 4, 2024, 16:03 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk14 | < 1.61 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk15 | < 1.61 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk16 | < 1.61 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bc-fips | < 1.0.2 | 1.0.2 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | < 1.61 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-ext-jdk16 | < 1.61 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk15on | < 1.61 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.61 | 1.61 | GHSA-72m5-fvvv-55m6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 17, 2025. Summary: Observable Differences in Behavior to Error Inputs in Bouncy Castle.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bouncycastle | fips java api | before 1.0.1.2 | application |
| bouncycastle | legion-of-the-bouncy-castle | before 1.61 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:08 UTC.
How severe is CVE-2020-26939?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-26939 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.92% probability of exploitation activity in the next 30 days, percentile 61.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-203 Observable Discrepancy
Where are the vendor advisories and references?
- https://github.com/bcgit/bc-java/wiki/CVE-2020-26939 x_refsource_MISC
- [solr-issues] 20210525 [jira] [Created] (SOLR-15431) Security vulnerability with Bouncy Castle library within Apache Solr 8.8.2 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- October 10, 2020
- Published
- November 2, 2020, 22:00 UTC
- CVE record updated
- August 4, 2024, 16:03 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:08 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:06 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Fips Java Api?
- Nov 23, 2023CVE-2023-33202 Bouncycastle Bouncy Castle For Java: denial of service (uncontrolled resource consumption)
- Nov 21, 2022CVE-2022-45146 Bouncycastle Fips Java Api: use after free
- May 20, 2021CVE-2020-15522 Bouncycastle Bc-csharp: race condition
- Jun 5, 2018CVE-2018-1000180 Bouncycastle Bc-java: broken or risky cryptography
Questions about CVE-2020-26939
Is CVE-2020-26939 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.92% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Bouncycastle Fips Java Api are affected by CVE-2020-26939?
org.bouncycastle:bcprov-jdk14 before 1.61, org.bouncycastle:bcprov-jdk15 before 1.61, org.bouncycastle:bcprov-jdk16 before 1.61, org.bouncycastle:bc-fips before 1.0.2, org.bouncycastle:bcprov-ext-jdk15on before 1.61, org.bouncycastle:bcprov-ext-jdk16 before 1.61 and 2 more, per the GitHub advisory GHSA-72m5-fvvv-55m6. The tables above give every range the sources list.
Which version fixes CVE-2020-26939?
1.61 and 1.0.2, per the GitHub advisory GHSA-72m5-fvvv-55m6. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-26939?
Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-26939?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.