GHSA-4vhj-98r6-424hHighCVSS 7.5

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

Published
October 17, 2018
Last Modified
September 12, 2025

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products3

  • maven/org.bouncycastle:bcprov-jdk14:>= 1.38, < 1.56
  • maven/org.bouncycastle:bcprov-jdk15:>= 1.38, < 1.56
  • maven/org.bouncycastle:bcprov-jdk15on:>= 1.38, < 1.56

🔗 References (11)