Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-jdk15
  4. ›
  5. CVE-2016-1000338

CVE-2016-1000338: In Bouncy Castle JCE Provider it is possible to inject extra elements in the sequence making up the signature and still have it validate

October 17, 2018 (updated September 12, 2025)

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.

References

  • access.redhat.com/errata/RHSA-2018:2669
  • access.redhat.com/errata/RHSA-2018:2927
  • github.com/advisories/GHSA-4vhj-98r6-424h
  • github.com/bcgit/bc-java
  • github.com/bcgit/bc-java/commit/b0c3ce99d43d73a096268831d0d120ffc89eac7f
  • lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
  • lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
  • lists.debian.org/debian-lts-announce/2018/07/msg00009.html
  • nvd.nist.gov/vuln/detail/CVE-2016-1000338
  • security.netapp.com/advisory/ntap-20231006-0011
  • usn.ubuntu.com/3727-1
  • www.oracle.com/security-alerts/cpuoct2020.html

Code Behaviors & Features

Detect and mitigate CVE-2016-1000338 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.38 before 1.56

Fixed versions

  • 1.56

Solution

Upgrade to version 1.56 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

maven/org.bouncycastle/bcprov-jdk15/CVE-2016-1000338.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 30 Sep 2025 00:18:58 +0000.