CVE-2016-1000338Bouncycastle Legion-of-the-bouncy-castle-java-crytography-api
High 7.5 No auth needed
Follow: this CVE · Bouncycastle · Bouncycastle Legion-of-the-bouncy-castle-java-crytography-api We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Jun 1, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
In Bouncy Castle JCE Provider version 1.55 and earlier the DSA does not fully validate ASN.1 encoding of signature on verification. It is possible to inject extra elements in the sequence making up the signature and still have it validate, which in some cases may allow the introduction of 'invisible' data into a signed structure.
What to do
- Apply the vendor's security update for Legion-of-the-bouncy-castle-java-crytography-api.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk14 |
≥ 1.38 < 1.56 |
1.56 |
— |
| Maven | org.bouncycastle:bcprov-jdk15 |
≥ 1.38 < 1.56 |
1.56 |
— |
| Maven | org.bouncycastle:bcprov-jdk15on |
≥ 1.38 < 1.56 |
1.56 |
— |
Per OSV / GitHub Advisories (GHSA-4vhj-98r6-424h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bouncycastle | legion-of-the-bouncy-castle-java-crytography-api | ≥ 1.38 < 1.56 |
| redhat | satellite | 6.4 |
| redhat | satellite_capsule | 6.4 |
| canonical | ubuntu_linux | 14.04 |
| netapp | 7-mode_transition_tool | all |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- github.com Patch Third Party Advisory
- lists.apache.org Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.oracle.com Third Party Advisory