VDB

CVE-2016-1000340

CVE-2016-1000340 PUBLISHED CVSS 7.5 HIGH

The Bouncy Castle JCE Provider carry a propagation bug

Reported by mitre · Published June 4, 2018

bcprov-jdk15 is fixed in 1.56 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.bouncycastle:bcprov-jdk15Maven Central1.56
org.bouncycastle:bcprov-jdk15onMaven Central1.56
org.bouncycastle:bcprov-jdk14Maven Central1.56
Sterling Partner Engagement ManagerIBM6.2.4.2, 6.2.3.5
bc-javabouncycastle1.55

Risk scores

CVSS 3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
n/an/an/a
Mavenorg.bouncycastle:bcprov-jdk141.51
Mavenorg.bouncycastle:bcprov-jdk15on1.51
Mavenorg.bouncycastle:bcprov-jdk151.51
n/an/a*

Timeline

  • Jun 4, 2018 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 6, 2024 CVE Updated
  • Mar 13, 2026 PoC Published
  • Mar 17, 2026 Security Advisory (3 in total, the first dated here)
  • Oct 10, 2026 Coalition ESS Score
  • Nov 21, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-1000340
vulnetix vdb fixes CVE-2016-1000340

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-1000340/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›