Vulnerabilityin the org.bouncycastle:bcprov-jdk14 package.
No public exploit found; not on exploited lists.
In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was introduced in the implementation of squaring for several raw math classes have been fixed (org.bouncycastle.math.raw.Nat???). These classes are used by our custom elliptic curve implementations (org.bouncycastle.math.ec.custom.**), so there was the possibility of rare (in general usage) spurious calculations for elliptic curve scalar multiplications. Such errors would have been detected with high probability by the output validation for our scalar multipliers.
- Upgrade org.bouncycastle:bcprov-jdk14 (Maven) to 1.56 or later.
- Upgrade org.bouncycastle:bcprov-jdk15 (Maven) to 1.56 or later.
- Upgrade org.bouncycastle:bcprov-jdk15on (Maven) to 1.56 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
- 4 Jun 2018CVE ID reserved by mitre.
- 4 Jun 2018Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
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
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other vulnerabilities in this package
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.oracle.com x_refsource_MISC
- security.netapp.com x_refsource_CONFIRM
- github.com x_refsource_CONFIRM
Patchminder. CVE-2016-1000340: Vulnerability in the org.bouncycastle:bcprov-jdk14 package. https://patchminder.com/cve/cve-2016-1000340/ (accessed 5 December 2026).