In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 3 fixed, 4 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | org.bouncycastle:bcprov-jdk14 (Maven) | 1.51 to before 1.56 | 1.56 | Patch available | GHSA-r97x-3g8f-gx3m |
| — | org.bouncycastle:bcprov-jdk15 (Maven) | 1.51 to before 1.56 | 1.56 | Patch available | GHSA-r97x-3g8f-gx3m |
| — | org.bouncycastle:bcprov-jdk15on (Maven) | 1.51 to before 1.56 | 1.56 | Patch available | GHSA-r97x-3g8f-gx3m |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- org.bouncycastle:bcprov-jdk14 (Maven) Vendor— Affected 1.51 to before 1.56 Fixed in 1.56 Patch available GHSA-r97x-3g8f-gx3m
- org.bouncycastle:bcprov-jdk15 (Maven) Vendor— Affected 1.51 to before 1.56 Fixed in 1.56 Patch available GHSA-r97x-3g8f-gx3m
- org.bouncycastle:bcprov-jdk15on (Maven) Vendor— Affected 1.51 to before 1.56 Fixed in 1.56 Patch available GHSA-r97x-3g8f-gx3m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* | 1.51 – 1.55 | Vulnerable | Legion of the Bouncy Castle Inc. |
- cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* Versions 1.51 – 1.55 Vulnerable ·Legion of the Bouncy Castle Inc.
Remediation
- Fix · GHSA-r97x-3g8f-gx3m org.bouncycastle:bcprov-jdk14 (Maven) Fixed in 1.56 Advisory →
- Fix · GHSA-r97x-3g8f-gx3m org.bouncycastle:bcprov-jdk15 (Maven) Fixed in 1.56 Advisory →
- Fix · GHSA-r97x-3g8f-gx3m org.bouncycastle:bcprov-jdk15on (Maven) Fixed in 1.56 Advisory →
Red Hat 2 advisories
- RHSA-2018:2927 Released 2018-10-16 · Red Hat rating ImportantSatellite 6.4 security, bug fix, and enhancement update
- Red Hat Satellite 6.4 SOAPpy-0.11.6-17.el7, ansiblerole-insights-client-1.5-1.el7sat, candlepin-2.4.8-1.el7 +47
- Red Hat Satellite Capsule 6.4 SOAPpy-0.11.6-17.el7, ansiblerole-insights-client-1.5-1.el7sat, createrepo_c-0.7.4-1.el7sat +47
- RHSA-2018:2669 Released 2018-09-11 · Red Hat rating ImportantFuse 7.1 security update
- Red Hat Fuse 7
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Data Virtualization 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Subscription Asset Manager | Affected | No fix planned: Will not fix |
| Red Hat Fuse 7 | Fixed | RHSA-2018:2669 |
| Red Hat Satellite 6.4 | Fixed | RHSA-2018:2927 |
| Red Hat Satellite Capsule 6.4 | Fixed | RHSA-2018:2927 |
Not affected: 7 products
- JBoss Developer Studio 11
- Red Hat JBoss Data Grid 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Fuse Integration Service 2
- Red Hat OpenShift Application Runtimes
- Red Hat Single Sign-On 7
- Red Hat Virtualization 4
Timeline
- 2026-10-02 Threatist record created from CVE-2016-1000340
- 2026-10-03 Alias added: GHSA-r97x-3g8f-gx3m
- 2026-11-03 Fix available: Red Hat Fuse 7 · Red Hat
References
Advisory 4
More Legion of the Bouncy Castle Inc. Bc-java vulnerabilities
- TI-2018-15967 Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to… CVSS 3.1CRITICAL 9.8
- TI-2017-09736 BouncyCastle JCE TLS Bleichenbacher/ROBOT CVSS 3.0HIGH 7.5
- TI-2026-42545 MTI/A0 DH agreement exponentiates unvalidated peer value CVSS 4.0CRITICAL 9.3
- TI-2026-42533 JSSE hostname verifier CN-fallback enabled by default despite documented opt-in CVSS 4.0CRITICAL 9.3
- TI-2026-41816 Stapled OCSP response accepted without binding to the checked certificate CVSS 4.0CRITICAL 9.3
- TI-2026-07701 Name Constraints bypass via trailing dot in rfc822Name and URI CVSS 4.0CRITICAL 9.3
Sources
- CVE-2016-1000340 · CVE Program
- CVE-2016-1000340 · NVD
- FIRST EPSS
- GHSA-r97x-3g8f-gx3m · GitHub Advisory Database · CC BY 4.0
- CVE-2016-1000340 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences