In the Bouncy Castle JCE Provider version 1.55 and earlier the DSA key pair generator generates a weak private key if used with default values. If the JCA key pair generator is not explicitly initialised with DSA parameters, 1.55 and earlier generates a private value assuming a 1024 bit key size. In earlier releases this can be dealt with by explicitly passing parameters to the key pair generator.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1418-1 bouncycastle security update
EUVD EUVD EUVD-2018-0689 In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values
Github GHSA Github GHSA GHSA-rrvx-pwf8-p59p In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values
Ubuntu USN Ubuntu USN USN-3727-1 Bouncy Castle vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 12 May 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Bouncycastle bc-java
CPEs cpe:2.3:a:bouncycastle:legion-of-the-bouncy-castle-java-crytography-api:*:*:*:*:*:*:*:* cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
Vendors & Products Bouncycastle legion-of-the-bouncy-castle-java-crytography-api
Bouncycastle bc-java

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T03:55:27.422Z

Reserved: 2018-06-04T00:00:00

Link: CVE-2016-1000343

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-06-04T13:29:00.437

Modified: 2025-05-12T17:37:16.527

Link: CVE-2016-1000343

cve-icon Redhat

Severity : Low

Publid Date: 2018-06-07T00:00:00Z

Links: CVE-2016-1000343 - Bugzilla

cve-icon OpenCVE Enrichment

No data.