
CVE catalog
CVE-2016-1000340
bouncycastle: CVE-2016-1000340
- Severity
- High · CVSS 7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.30% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | bouncycastle | sid | 1.86.2-1 | fixed |
| Debian | bouncycastle | forky | 1.86-1 | fixed |
| Debian | bouncycastle | trixie | 1.80-3 | fixed |
| Debian | bouncycastle | bookworm | 1.72-2 | fixed |
| Ubuntu | bouncycastle | pro | 1.49+dfsg-3ubuntu1 | vulnerable |
| Ubuntu | bouncycastle | pro | 1.51-4ubuntu1 | vulnerable |
| Ubuntu | bouncycastle | pro | 1.51-4ubuntu1+esm1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | bouncycastle | source | sid | 1.56-1 | not yet assigned | Not reported | Not reported |
| Debian | bouncycastle | source | forky | 1.56-1 | not yet assigned | Not reported | Not reported |
| Debian | bouncycastle | source | trixie | 1.56-1 | not yet assigned | Not reported | Not reported |
| Debian | bouncycastle | source | bookworm | 1.56-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libbcjmail-java]Fixed
Source package: [bouncycastle]
Details (2)
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
- [libbcmail-java]Fixed
Source package: [bouncycastle]
Details (2)
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
- [libbcpg-java]Fixed
Source package: [bouncycastle]
Details (2)
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
- [libbcpkix-java]Fixed
Source package: [bouncycastle]
Details (2)
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
- [libbcprov-java]Fixed
Source package: [bouncycastle]
Details (2)
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
- [libbctls-java]Fixed
Source package: [bouncycastle]
Details (2)
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
- [libbcutil-java]Fixed
Source package: [bouncycastle]
Details (2)
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
1.72-2· all · bookwormFixed · Fixed:
1.56-1dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12
[Debian 13 (Trixie)]
- [libbcjmail-java]Fixed
Source package: [bouncycastle]
Details (2)
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
- [libbcmail-java]Fixed
Source package: [bouncycastle]
Details (2)
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
- [libbcpg-java]Fixed
Source package: [bouncycastle]
Details (2)
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
- [libbcpkix-java]Fixed
Source package: [bouncycastle]
Details (2)
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
- [libbcprov-java]Fixed
Source package: [bouncycastle]
Details (2)
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
- [libbctls-java]Fixed
Source package: [bouncycastle]
Details (2)
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
- [libbcutil-java]Fixed
Source package: [bouncycastle]
Details (2)
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
1.80-3· all · trixieFixed · Fixed:
1.56-1dsa · bouncycastle · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10661-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2016-1000340]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2016-1000340]
- [https://security-tracker.debian.org/tracker/CVE-2016-1000340]
- [https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-1000340.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]