{"id":"CVE-2016-1000340","published":"2018-06-04T13:00:00Z","modified":"2024-08-06T03:55:27Z","title":"In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was introduced in the implementation…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02254,"percentile":0.83357,"provenance":"source"},"cwes":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:2669","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20181127-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bcgit/bc-java/commit/790642084c4e0cadd47352054f868cc8397e2c00#diff-e5934feac8203ca0104ab291a3560a31","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":16.67}]},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk14","vulnerableRanges":[">=1.51, <1.56"],"patched":["1.56"],"from":["GHSA-r97x-3g8f-gx3m"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15","vulnerableRanges":[">=1.51, <1.56"],"patched":["1.56"],"from":["GHSA-r97x-3g8f-gx3m"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15on","vulnerableRanges":[">=1.51, <1.56"],"patched":["1.56"],"from":["GHSA-r97x-3g8f-gx3m"],"provenance":"source"}],"summary":{"text":"The Bouncy Castle JCE Provider (versions 1.51 to 1.55) contains a carry propagation bug in the squaring implementation of several raw math classes (org.bouncycastle.math.raw.Nat), which are used by its custom elliptic curve code (org.bouncycastle.math.ec.custom). The flaw can cause rare spurious results in elliptic curve scalar multiplication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:41Z"},"euvd":{"id":"EUVD-2018-0679","exploited":false,"provenance":"source"}}