Skip to content
Fencer Intel
high 7.5

CVE-2016-1000342 json

In Bouncy Castle JCE Provider ECDSA does not fully validate ASN.1 encoding of signature on verification

published 2018-06-04 8 y ago modified 2026-06-17 4 mo ago also GHSA-qcj7-g2j5-g7r3 , EUVD-2018-0660

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

Summary

In the Bouncy Castle JCE Provider version 1.55 and earlier ECDSA 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.

Patch / fix

  • maven org.bouncycastle:bcprov-jdk14 1.56
  • maven org.bouncycastle:bcprov-jdk15 1.56
  • maven org.bouncycastle:bcprov-jdk15on 1.56
  • bouncycastle Debian 14, Debian 13, Debian 12 1.56-1

debian advisories DEBIAN-CVE-2016-1000342

  • bouncycastle Ubuntu 14.04 LTS 1.49+dfsg-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2016-1000342

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • v8 satellite capsule 6.4 1:3.14.5.10-19.el7sat
  • tfm satellite capsule 6.4, satellite 6.4 4.0-3.el7sat
  • kobo satellite capsule 6.4, satellite 6.4 0.5.1-1.el7sat
  • pulp satellite capsule 6.4, satellite 6.4 2.16.4.1-1.el7sat
  • gofer satellite capsule 6.4, satellite 6.4 2.12.1-1.el7sat
  • ostree satellite capsule 6.4, satellite 6.4 2017.1-2.atomic.el7
  • SOAPpy satellite capsule 6.4, satellite 6.4 0.11.6-17.el7
  • foreman satellite capsule 6.4, satellite 6.4 1.18.0.37-1.el7sat

red hat advisories RHSA-2018:2927

  • bouncycastle openSUSE Tumbleweed 1.68-3.2

opensuse advisories openSUSE-SU-2024:10661-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-1000342 updated cvss 5.1

bouncycastle: ECDSA improper validation of ASN.1 encoding of signature

  • Red Hat JBoss Data Virtualization 6 bouncycastle bouncycastle
    affected: no fix planned “Out of support scope”
  • Red Hat JBoss Fuse 6 bouncycastle bouncycastle
    affected: no fix planned “Will not fix”
  • Red Hat Single Sign-On 7 bouncycastle bouncycastle
    affected: no fix available
  • Red Hat Software Collections rh-eclipse46-bouncycastle, rh-eclipse46-bouncycastle-javadoc Red Hat Subscription Asset Manager bouncycastle
    affected: no fix planned “Will not fix”
  • Red Hat Fuse 7
    fixed: vendor fix RHSA-2018:2669
  • Red Hat Satellite 6.4 tfm 4.0-3.el7sat, kobo 0.5.1-1.el7sat, SOAPpy 0.11.6-17.el7, candlepin 2.4.8-1.el7, gofer 2.12.1-1.el7sat, liquibase 3.1.0-1.el7, +383 more Red Hat Satellite Capsule 6.4 tfm 4.0-3.el7sat, kobo 0.5.1-1.el7sat, SOAPpy 0.11.6-17.el7, gofer 2.12.1-1.el7sat, katello 3.7.0-8.el7sat, pulp 2.16.4.1-1.el7sat, +217 more
    fixed: vendor fix RHSA-2018:2927
  • Red Hat JBoss Developer Studio 11 bouncycastle bouncycastle Red Hat JBoss Data Grid 7 bouncycastle bouncycastle Red Hat JBoss Enterprise Application Platform 7 bouncycastle bouncycastle Red Hat JBoss Fuse Integration Service 2 bouncycastle bouncycastle Red Hat OpenShift Application Runtimes bouncycastle bouncycastle Red Hat Virtualization 4 eap7-bouncycastle
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.83% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
maven org.bouncycastle:bcprov-jdk14
<1.56
1.56
maven org.bouncycastle:bcprov-jdk15
<1.56
1.56
maven org.bouncycastle:bcprov-jdk15on
<1.56
1.56

Classification

Weakness
  • CWE-347 Improper Verification of Cryptographic Signature

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.