Home / Bouncycastle / Legion-of-the-bouncy-castle-java-crytography-api / CVE-2016-1000338
CVE-2016-1000338: is it exploited, and which versions of Bouncycastle Legion-of-the-bouncy-castle-java-crytography-api are affected and fixed?
CVE-2016-1000338 is a cryptographic signature not verified vulnerability in Bouncycastle Legion-of-the-bouncy-castle-java-crytography-api. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: org.bouncycastle:bcprov-jdk14 from 1.38 before 1.56, org.bouncycastle:bcprov-jdk15 from 1.38 before 1.56 and org.bouncycastle:bcprov-jdk15on from 1.38 before 1.56 (GitHub advisory GHSA-4vhj-98r6-424h). Fixed in 1.56 (GitHub advisory GHSA-4vhj-98r6-424h). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:32 UTC.
What is CVE-2016-1000338?
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.
From the CVE record by mitre, last updated August 6, 2024, 03:55 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk14 | >= 1.38, < 1.56 | 1.56 | GHSA-4vhj-98r6-424h |
| Maven | org.bouncycastle:bcprov-jdk15 | >= 1.38, < 1.56 | 1.56 | GHSA-4vhj-98r6-424h |
| Maven | org.bouncycastle:bcprov-jdk15on | >= 1.38, < 1.56 | 1.56 | GHSA-4vhj-98r6-424h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 12, 2025. Summary: In Bouncy Castle JCE Provider it is possible to inject extra elements in the sequence making up the signature and still have it validate.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bouncycastle | legion-of-the-bouncy-castle-java-crytography-api | from 1.38 before 1.56 | application |
| redhat | satellite | 6.4 | application |
| redhat | satellite capsule | 6.4 | application |
| canonical | ubuntu linux | 14.04 | operating system |
| netapp | 7-mode transition tool | all versions | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 00:38 UTC.
How severe is CVE-2016-1000338?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-1000338 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.78% probability of exploitation activity in the next 30 days, percentile 78.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
Where are the vendor advisories and references?
- [debian-lts-announce] 20180707 [SECURITY] [DLA 1418-1] bouncycastle security update mailing-list
- RHSA-2018:2669 vendor-advisory
- USN-3727-1 vendor-advisory
- RHSA-2018:2927 vendor-advisory
- [lucene-solr-user] 20190104 Re: SOLR v7 Security Issues Caused Denial of Use - Sonatype Application Composition Report mailing-list
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://github.com/bcgit/bc-java/commit/b0c3ce99d43d73a096268831d0d120ffc89eac7f#diff-3679f5a9d2b939d0d3ee1601a7774fb0
- https://security.netapp.com/advisory/ntap-20231006-0011/
When was it published, and where is the official record?
- Reserved
- June 1, 2018
- Published
- June 1, 2018, 00:00 UTC
- CVE record updated
- August 6, 2024, 03:55 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 00:38 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:32 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2016-1000338
Is CVE-2016-1000338 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 1.78% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Bouncycastle Legion-of-the-bouncy-castle-java-crytography-api are affected by CVE-2016-1000338?
org.bouncycastle:bcprov-jdk14 from 1.38 before 1.56, org.bouncycastle:bcprov-jdk15 from 1.38 before 1.56 and org.bouncycastle:bcprov-jdk15on from 1.38 before 1.56, per the GitHub advisory GHSA-4vhj-98r6-424h. The tables above give every range the sources list.
Which version fixes CVE-2016-1000338?
1.56, per the GitHub advisory GHSA-4vhj-98r6-424h. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-1000338?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-1000338?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.