Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-jdk15
  4. ›
  5. CVE-2016-1000340

CVE-2016-1000340: Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15

October 17, 2018 (updated September 17, 2021)

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.

References

  • github.com/advisories/GHSA-r97x-3g8f-gx3m
  • github.com/bcgit/bc-java/commit/790642084c4e0cadd47352054f868cc8397e2c00
  • nvd.nist.gov/vuln/detail/CVE-2016-1000340

Code Behaviors & Features

Detect and mitigate CVE-2016-1000340 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.51 before 1.56

Fixed versions

  • 1.56

Solution

Upgrade to version 1.56 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-19

Source file

maven/org.bouncycastle/bcprov-jdk15/CVE-2016-1000340.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.