Live threats

All CVEs / Bouncycastle

CVE-2016-1000342Bouncycastle Bc-java

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Jun 4, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bc-java.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
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 —

Per OSV / GitHub Advisories (GHSA-qcj7-g2j5-g7r3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
bouncycastlebc-java≤ 1.55
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.