{"id":"CVE-2016-1000342","published":"2018-06-04T13:00:00Z","modified":"2024-08-06T03:55:27Z","title":"In the Bouncy Castle JCE Provider version 1.55 and earlier ECDSA does not fully validate ASN.1 encoding of signature…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01792,"percentile":0.78929,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2669","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3727-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20181127-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bcgit/bc-java/commit/843c2e60f67d71faf81d236f448ebbe56c62c647#diff-25c3c78db788365f36839b3f2d3016b9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":15.79}]},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk14","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-qcj7-g2j5-g7r3"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-qcj7-g2j5-g7r3"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15on","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-qcj7-g2j5-g7r3"],"provenance":"source"}],"summary":{"text":"The flaw lies in the ECDSA signature verification of the Bouncy Castle JCE Provider, version 1.55 and earlier, which does not fully validate the ASN.1 encoding of signatures.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:19Z"},"euvd":{"id":"EUVD-2018-0660","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-org-bouncycastle-bcprov-jdk14-cve-2016-1000338","parents":[{"from":"CVE-2016-1000338","to":"CVE-2016-1000342","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/DSASigner.java"],"commits":["https://github.com/bcgit/bc-java/commit/b0c3ce99d43d73a096268831d0d120ffc89eac7f","https://github.com/bcgit/bc-java/commit/843c2e60f67d71faf81d236f448ebbe56c62c647"],"basis":"shared function","functions":["derDecode"]},{"kind":"similar","provenance":"machine","score":0.92,"basis":"same package + description similarity"}]}]}}