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.
CVE-2016-1000340
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 39% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 80.9%
- KEV
- Not listed
Published
June 4, 2018
Last Modified
May 12, 2025
References (10)
- cve@mitrehttps://access.redhat.com/errata/RHSA-2018:2669
- cve@mitrehttps://access.redhat.com/errata/RHSA-2018:2927
- cve@mitrehttps://github.com/bcgit/bc-java/commit/790642084c4e0cadd47352054f868cc8397e2c00#diff-e5934feac8203ca0104ab291a3560a31
- cve@mitrehttps://security.netapp.com/advisory/ntap-20181127-0004/
- cve@mitrehttps://www.oracle.com/security-alerts/cpuoct2020.html
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:2669
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:2927
- af854a3a-2127-422b-91ae-364da2661108https://github.com/bcgit/bc-java/commit/790642084c4e0cadd47352054f868cc8397e2c00#diff-e5934feac8203ca0104ab291a3560a31
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20181127-0004/
- af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuoct2020.html
Vendor Advisories for CVE-2016-1000340(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Frequently asked(5)
What is CVE-2016-1000340?
When was CVE-2016-1000340 disclosed?
Is CVE-2016-1000340 actively exploited?
What is the CVSS score of CVE-2016-1000340?
How do I remediate CVE-2016-1000340?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2016-1000340
Is Your Infrastructure Affected by CVE-2016-1000340?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.