Home / Bouncycastle / Bc-java / CVE-2020-28052
CVE-2020-28052: is it exploited, and which versions of Bouncycastle Bc-java are affected and fixed?
CVE-2020-28052 is an always-incorrect control flow vulnerability in Bouncycastle Bc-java. 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, 10:38 UTC). Affected: org.bouncycastle:bcprov-jdk15to18 from 1.65 before 1.67, org.bouncycastle:bcprov-jdk15 from 1.65 before 1.67, org.bouncycastle:bcprov-jdk15on from 1.65 before 1.67 and 4 more (GitHub advisory GHSA-73xv-w5gp-frxh). Fixed in 1.67 (GitHub advisory GHSA-73xv-w5gp-frxh). Severity: High (8.1, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:05 UTC.
What is CVE-2020-28052?
An issue was discovered in Legion of the Bouncy Castle BC Java 1.65 and 1.66. The OpenBSDBCrypt.checkPassword utility method compared incorrect data when checking the password, allowing incorrect passwords to indicate they were matching with previously hashed ones that were different.
From the CVE record by mitre, last updated August 4, 2024, 16:33 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk15to18 | >= 1.65, < 1.67 | 1.67 | GHSA-73xv-w5gp-frxh |
| Maven | org.bouncycastle:bcprov-jdk15 | >= 1.65, < 1.67 | 1.67 | GHSA-73xv-w5gp-frxh |
| Maven | org.bouncycastle:bcprov-jdk15on | >= 1.65, < 1.67 | 1.67 | GHSA-73xv-w5gp-frxh |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | >= 1.65, < 1.67 | 1.67 | GHSA-73xv-w5gp-frxh |
| Maven | org.bouncycastle:bcprov-jdk14 | >= 1.65, < 1.67 | 1.67 | GHSA-73xv-w5gp-frxh |
| Maven | org.bouncycastle:bcprov-jdk16 | >= 1.65, < 1.67 | 1.67 | GHSA-73xv-w5gp-frxh |
| Maven | org.bouncycastle:bcprov-ext-jdk16 | >= 1.65, < 1.67 | 1.67 | GHSA-73xv-w5gp-frxh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 8, 2022. Summary: Logic error in Legion of the Bouncy Castle BC Java.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bouncycastle | bc-java | 1.65 | application |
| bouncycastle | bc-java | 1.66 | application |
| apache | karaf | 4.3.2 | application |
| oracle | banking corporate lending process management | 14.2.0 | application |
| oracle | banking corporate lending process management | 14.3.0 | application |
| oracle | banking corporate lending process management | 14.5.0 | application |
| oracle | banking credit facilities process management | 14.2.0 | application |
| oracle | banking credit facilities process management | 14.3.0 | application |
| oracle | banking credit facilities process management | 14.5.0 | application |
| oracle | banking extensibility workbench | 14.2.0 | application |
| oracle | banking extensibility workbench | 14.3.0 | application |
| oracle | banking extensibility workbench | 14.5.0 | application |
| oracle | banking supply chain finance | 14.2.0 | application |
| oracle | banking supply chain finance | 14.3.0 | application |
| oracle | banking supply chain finance | 14.5.0 | application |
| oracle | banking virtual account management | 14.2.0 | application |
| oracle | banking virtual account management | 14.3.0 | application |
| oracle | banking virtual account management | 14.5.0 | application |
| oracle | blockchain platform | before 21.1.2 | application |
| oracle | commerce guided search | 11.3.2 | application |
| oracle | communications application session controller | 3.9m0p3 | application |
| oracle | communications cloud native core network slice selection function | 1.2.1 | application |
| oracle | communications convergence | 3.0.2.2.0 | application |
| oracle | communications pricing design center | 12.0.0.3.0 | application |
| oracle | communications session report manager | from 8.0.0 through 8.2.4.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:10 UTC.
How severe is CVE-2020-28052?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | 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-28052 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 7.19% probability of exploitation activity in the next 30 days, percentile 94.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-670 Always-Incorrect Control Flow Implementation
Where are the vendor advisories and references?
- https://www.bouncycastle.org/releasenotes.html x_refsource_MISC
- [druid-commits] 20210107 [GitHub] [druid] jon-wei opened a new pull request #10733: Update deps for CVE-2020-28168 and CVE-2020-28052 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210107 [GitHub] [kafka] cyrusv opened a new pull request #9845: MINOR: Bump Bouncy Castle Dep to resolve CVE-2020-28052 mailing-list, x_refsource_MLIST
- [druid-commits] 20210107 [GitHub] [druid] clintropolis merged pull request #10733: Update deps for CVE-2020-28168 and CVE-2020-28052 mailing-list, x_refsource_MLIST
- [pulsar-commits] 20210119 [GitHub] [pulsar] fmiguelez opened a new issue #9235: Upgrade Bounce Castle dependency on client to solve CVE-2020-28052 mailing-list, x_refsource_MLIST
- [druid-commits] 20210127 [druid] 01/02: Update deps for CVE-2020-28168 and CVE-2020-28052 (#10733) mailing-list, x_refsource_MLIST
- [pulsar-commits] 20210406 [GitHub] [pulsar] lhotari commented on issue #9235: Upgrade Bounce Castle dependency on client to solve CVE-2020-28052 mailing-list, x_refsource_MLIST
- [solr-issues] 20210525 [jira] [Created] (SOLR-15431) Security vulnerability with Bouncy Castle library within Apache Solr 8.8.2 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://github.com/bcgit/bc-java/wiki/CVE-2020-28052 x_refsource_MISC
- https://www.synopsys.com/blogs/software-security/cve-2020-28052-bouncy-castle/ x_refsource_MISC
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- [karaf-issues] 20210810 [jira] [Created] (KARAF-7240) Upgrade bcprov artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210810 [jira] [Updated] (KARAF-7240) Upgrade bcprov artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210810 [jira] [Commented] (KARAF-7240) Upgrade bcprov artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210816 [jira] [Updated] (KARAF-7240) Upgrade bcprov artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210816 [jira] [Updated] (KARAF-7240) Upgrade bcprov 1.69 artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210817 [jira] [Commented] (KARAF-7240) Upgrade bcprov 1.68 artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210817 [jira] [Updated] (KARAF-7240) Upgrade bcprov 1.68 artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210820 [jira] [Updated] (KARAF-7240) Upgrade bcprov 1.68 artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210824 [jira] [Commented] (KARAF-7240) Upgrade bcprov 1.68 artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- [karaf-issues] 20210824 [jira] [Resolved] (KARAF-7240) Upgrade bcprov 1.68 artifacts to mitigate CVE-2020-28052 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 2, 2020
- Published
- December 18, 2020, 00:52 UTC
- CVE record updated
- August 4, 2024, 16:33 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:10 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:05 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Bc-java?
- Jul 5, 2023CVE-2023-33201 Bouncycastle Bc-java: improper certificate validation
- Oct 8, 2019CVE-2019-17359 Bouncycastle Bc-java: denial of service (resources allocated without limits)
- Jul 9, 2018CVE-2018-1000613 Bouncycastle Bc-java: unsafe reflection
- Jun 5, 2018CVE-2018-1000180 Bouncycastle Bc-java: broken or risky cryptography
- Jun 4, 2018CVE-2016-1000352 Bouncycastle Bc-java: weak encryption
- Jun 4, 2018CVE-2016-1000346 Bouncycastle Bc-java: key management error
- Jun 4, 2018CVE-2016-1000345 Bouncycastle Bc-java: n/a
- Jun 4, 2018CVE-2016-1000344 Bouncycastle Bc-java: missing Ability to Patch ROM Code
Questions about CVE-2020-28052
Is CVE-2020-28052 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 7.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Bouncycastle Bc-java are affected by CVE-2020-28052?
org.bouncycastle:bcprov-jdk15to18 from 1.65 before 1.67, org.bouncycastle:bcprov-jdk15 from 1.65 before 1.67, org.bouncycastle:bcprov-jdk15on from 1.65 before 1.67, org.bouncycastle:bcprov-ext-jdk15on from 1.65 before 1.67, org.bouncycastle:bcprov-jdk14 from 1.65 before 1.67, org.bouncycastle:bcprov-jdk16 from 1.65 before 1.67 and 1 more, per the GitHub advisory GHSA-73xv-w5gp-frxh. The tables above give every range the sources list.
Which version fixes CVE-2020-28052?
1.67, per the GitHub advisory GHSA-73xv-w5gp-frxh. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-28052?
High (8.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-28052?
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.