{"id":"UBUNTU-CVE-2016-1000343","details":"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.","modified":"2026-03-19T06:47:30.911696Z","published":"2018-06-04T00:00:00Z","related":["USN-3727-1"],"upstream":["CVE-2016-1000343"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-1000343"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3727-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-1000343"}],"affected":[{"package":{"name":"bouncycastle","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/bouncycastle@1.49+dfsg-2ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.49+dfsg-2ubuntu0.1"}]}],"versions":["1.48+dfsg-2","1.49+dfsg-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libbcmail-java","binary_version":"1.49+dfsg-2ubuntu0.1"},{"binary_name":"libbcpg-java","binary_version":"1.49+dfsg-2ubuntu0.1"},{"binary_name":"libbcpkix-java","binary_version":"1.49+dfsg-2ubuntu0.1"},{"binary_name":"libbcprov-java","binary_version":"1.49+dfsg-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-1000343.json"}},{"package":{"name":"bouncycastle","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/bouncycastle@1.51-4ubuntu1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.49+dfsg-3ubuntu1","1.51-4ubuntu1","1.51-4ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbcmail-java","binary_version":"1.51-4ubuntu1+esm1"},{"binary_name":"libbcpg-java","binary_version":"1.51-4ubuntu1+esm1"},{"binary_name":"libbcpkix-java","binary_version":"1.51-4ubuntu1+esm1"},{"binary_name":"libbcprov-java","binary_version":"1.51-4ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-1000343.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}