Vulnerabilityin the org.bouncycastle:bcprov-jdk15to18 package.
Proof of concept public (GitHub).
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.
- Upgrade org.bouncycastle:bcprov-jdk15to18 (Maven) to 1.67 or later.
- Upgrade org.bouncycastle:bcprov-jdk15 (Maven) to 1.67 or later.
- Upgrade org.bouncycastle:bcprov-jdk15on (Maven) to 1.67 or later.
- Upgrade org.bouncycastle:bcprov-ext-jdk15on (Maven) to 1.67 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 2 Nov 2020CVE ID reserved by mitre.
- 18 Dec 2020Published in the CVE List.
- 19 Dec 2020First public proof of concept on GitHub.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- www.bouncycastle.org x_refsource_MISC
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- www.oracle.com x_refsource_MISC
- github.com x_refsource_MISC
- www.synopsys.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
Patchminder. CVE-2020-28052: Vulnerability in the org.bouncycastle:bcprov-jdk15to18 package. https://patchminder.com/cve/cve-2020-28052/ (accessed 5 December 2026).