Improper Verification of Cryptographic Signature Affecting bouncycastle package, versions <1.56-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.79% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-BOUNCYCASTLE-18388300
  • published29 Jul 2026
  • disclosed1 Jun 2018

Introduced: 1 Jun 2018

CVE-2016-1000338  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade Echo:latest bouncycastle to version 1.56-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bouncycastle package and not the bouncycastle package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1