CVE-2016-1000338
Reported by mitre · Published June 1, 2018
bcprov-jdk15on is fixed in 1.56 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.bouncycastle:bcprov-jdk15on | Maven Central | 1.56 |
| org.bouncycastle:bcprov-jdk14 | Maven Central | 1.56 |
| org.bouncycastle:bcprov-jdk15 | Maven Central | 1.56 |
| legion-of-the-bouncy-castle-java-crytography-api | bouncycastle | 1.56 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | org.bouncycastle:bcprov-jdk15on | 1.38 |
| n/a | n/a | * |
| Maven | org.bouncycastle:bcprov-jdk15 | 1.38 |
| Maven | org.bouncycastle:bcprov-jdk14 | 1.38 |
Timeline
- Jun 1, 2018 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 5, 2026 Security Advisory (4 in total, the first dated here)
- Oct 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-1000338
vulnetix vdb fixes CVE-2016-1000338
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-1000338/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
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://nvd.nist.gov/vuln/detail/CVE-2016-1000338 advisory
- https://github.com/advisories/GHSA-4vhj-98r6-424h advisory
- https://github.com/bcgit/bc-java url
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E url
- https://security.netapp.com/advisory/ntap-20231006-0011 advisory
- https://usn.ubuntu.com/3727-1 url